pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zutils: minor cleanups



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Jul 12 21:54:20 2026 +0200
Changeset:	0afab885359bdd723c95c6cb72c0fbf5b581e48b

Modified Files:
	zutils/Makefile

Log Message:
zutils: minor cleanups

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0afab885359bdd723c95c6cb72c0fbf5b581e48b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zutils/Makefile | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diffs:
diff --git a/zutils/Makefile b/zutils/Makefile
index e6a53490a9..7b28ecdc7d 100644
--- a/zutils/Makefile
+++ b/zutils/Makefile
@@ -1,5 +1,4 @@
 # $NetBSD: Makefile,v 1.13 2021/02/12 07:27:48 nia Exp $
-#
 
 DISTNAME=	zutils-1.16
 CATEGORIES=	archivers
@@ -19,21 +18,16 @@ CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
 CONFIGURE_ARGS+=	--infodir=${PREFIX}/${PKGINFODIR}
 CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc
 USE_LANGUAGES=		c++
-AUTO_MKDIRS=		yes
 USE_TOOLS+=		gmake
 
 INFO_FILES=		yes
 
-CONF_FILES+= \
-	${PREFIX}/share/examples/zutils/zutils.conf \
-	${PKG_SYSCONFDIR}/zutils.conf
+CONF_FILES+=	${PREFIX}/share/examples/zutils/zutils.conf ${PKG_SYSCONFDIR}/zutils.conf
 
-EGDIR=	${PREFIX}/share/examples/zutils
+EGDIR=			${PREFIX}/share/examples/zutils
+INSTALLATION_DIRS=	${EGDIR}
 
 post-install:
-	${RM} ${DESTDIR}${PKG_SYSCONFDIR}/zutils.conf
-	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
-	${INSTALL_DATA} ${WRKSRC}/zutils.conf ${DESTDIR}${EGDIR}/zutils.conf
-
+	${MV} ${DESTDIR}${PKG_SYSCONFDIR}/zutils.conf ${DESTDIR}${EGDIR}/zutils.conf
 
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index