1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

print/foo2zjs: Clean up makefile

No functional changes intended.
This commit is contained in:
Mateusz Piotrowski 2021-06-02 16:11:36 +02:00
parent 2a868c0a0c
commit b783bcb11e

View File

@ -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: