Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2021 15:30:36 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b783bcb11e0a - main - print/foo2zjs: Clean up makefile
Message-ID:  <202106041530.154FUagB001904@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

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

commit b783bcb11e0afc6bf0dec27c586ce1a108ae8fdc
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-06-02 14:11:36 +0000
Commit:     Mateusz Piotrowski <0mp@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106041530.154FUagB001904>