diff options
author | hrs <hrs@FreeBSD.org> | 2014-05-25 02:29:07 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2014-05-25 02:29:07 +0800 |
commit | ba2fe1d44a29101add39592d9264d6a4b19ecfb6 (patch) | |
tree | 3290307069d77e4303d9f0b7b3012d0a4827f002 /japanese/xpdf | |
parent | b4a0a9ac0d6bd50c4adf6cd9bccbe56e9a4c95d8 (diff) | |
download | freebsd-ports-gnome-ba2fe1d44a29101add39592d9264d6a4b19ecfb6.tar.gz freebsd-ports-gnome-ba2fe1d44a29101add39592d9264d6a4b19ecfb6.tar.zst freebsd-ports-gnome-ba2fe1d44a29101add39592d9264d6a4b19ecfb6.zip |
STAGEDIR support.
Diffstat (limited to 'japanese/xpdf')
-rw-r--r-- | japanese/xpdf/Makefile | 22 | ||||
-rw-r--r-- | japanese/xpdf/pkg-plist | 1 |
2 files changed, 7 insertions, 16 deletions
diff --git a/japanese/xpdf/Makefile b/japanese/xpdf/Makefile index c92b1cb3554f..06a406cc22a7 100644 --- a/japanese/xpdf/Makefile +++ b/japanese/xpdf/Makefile @@ -31,23 +31,13 @@ INSTALL_FILES= Adobe-Japan1.cidToUnicode ISO-2022-JP.unicodeMap \ EUC-JP.unicodeMap Shift-JIS.unicodeMap \ README ../dot.xpdfrc -NO_STAGE= yes do-install: - ${MKDIR} ${DATADIR}/japanese + ${MKDIR} ${STAGEDIR}${DATADIR}/japanese cd ${WRKSRC} && \ - ${INSTALL_DATA} ${INSTALL_FILES} ${DATADIR}/japanese - ${MKDIR} ${DATADIR}/japanese/CMap - cd ${DATADIR}/japanese/CMap && \ - ${FIND} ${ADOBECMAPDIR}/aj16/CMap ${ADOBECMAPDIR}/aj20/CMap \ - -type f -exec ${LN} -s -f {} . \; - -post-install: - exec < ${LOCALBASE}/etc/xpdfrc; \ - ${RM} -f ${LOCALBASE}/etc/xpdfrc; \ - ( ${GREP} -v "${EXTRARC}"; \ - ${ECHO_CMD} "include ${EXTRARC}" ) \ - > ${LOCALBASE}/etc/xpdfrc - ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${LOCALBASE}/etc/xpdfrc - ${CHMOD} 0444 ${LOCALBASE}/etc/xpdfrc + ${INSTALL_DATA} ${INSTALL_FILES} ${STAGEDIR}${DATADIR}/japanese + ${MKDIR} ${STAGEDIR}${DATADIR}/japanese/CMap + cd ${STAGEDIR}${DATADIR}/japanese/CMap && \ + ${FIND} ${ADOBECMAPDIR}/aj16/CMap ${ADOBECMAPDIR}/aj20/CMap \ + -type f -exec ${LN} -s -f {} . \; .include <bsd.port.mk> diff --git a/japanese/xpdf/pkg-plist b/japanese/xpdf/pkg-plist index e367206ffea5..4d5cd545ff81 100644 --- a/japanese/xpdf/pkg-plist +++ b/japanese/xpdf/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ %%DATADIR%%/japanese/Adobe-Japan1.cidToUnicode %%DATADIR%%/japanese/EUC-JP.unicodeMap %%DATADIR%%/japanese/ISO-2022-JP.unicodeMap |