git: b783bcb11e0a - main - print/foo2zjs: Clean up makefile

Mateusz Piotrowski 0mp at FreeBSD.org
Fri Jun 4 15:30:37 UTC 2021


The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b783bcb11e0afc6bf0dec27c586ce1a108ae8fdc

commit b783bcb11e0afc6bf0dec27c586ce1a108ae8fdc
Author:     Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-06-02 14:11:36 +0000
Commit:     Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-06-04 15:31:01 +0000

    print/foo2zjs: Clean up makefile
    
    No functional changes intended.
---
 print/foo2zjs/Makefile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile
index face5fda6a54..8f5aca12f2f4 100644
--- a/print/foo2zjs/Makefile
+++ b/print/foo2zjs/Makefile
@@ -24,23 +24,25 @@ RUN_DEPENDS=	${LOCALBASE}/share/foomatic/db/oldprinterids:print/foomatic-db \
 
 USES=		ghostscript gmake shebangfix
 SHEBANG_FILES=	msexpand printer-profile.sh
-SUB_FILES=	pkg-message ${DEVDCONF_FILE}
-EXTRAFILES=	msexpand getweb
-DEVDCONF_FILE=	${PORTNAME}.conf
 
 MAKE_JOBS_UNSAFE=	yes
 
+SUB_FILES=	${_DEVDCONF_FILE} pkg-message
+
 OPTIONS_DEFINE=	DOCS
 
+_DEVDCONF_FILE=	${PORTNAME}.conf
+_EXTRAFILES=	msexpand getweb
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile
 
 post-install:
 	cd ${WRKSRC} && \
-		${INSTALL_SCRIPT} ${EXTRAFILES} ${STAGEDIR}${PREFIX}/bin
+		${INSTALL_SCRIPT} ${_EXTRAFILES} ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}/etc/devd
 	cd ${WRKDIR} && \
-		${INSTALL_SCRIPT} ${DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd
+		${INSTALL_SCRIPT} ${_DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foo2zjs-icc2ps
 
 post-install-DOCS-on:


More information about the dev-commits-ports-main mailing list