aboutsummaryrefslogtreecommitdiff
path: root/comms/tkscanfax
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-18 00:37:15 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-18 00:37:15 +0000
commit57e3213639e451ddc7e2311587929b679827e385 (patch)
tree2b38c4ddded75d6142be0d45209292474f0596a8 /comms/tkscanfax
parentec67c2b687d0b609821be9dac725661545f90926 (diff)
downloadports-57e3213639e451ddc7e2311587929b679827e385.tar.gz
ports-57e3213639e451ddc7e2311587929b679827e385.zip
Notes
Diffstat (limited to 'comms/tkscanfax')
-rw-r--r--comms/tkscanfax/Makefile11
-rw-r--r--comms/tkscanfax/pkg-plist6
2 files changed, 7 insertions, 10 deletions
diff --git a/comms/tkscanfax/Makefile b/comms/tkscanfax/Makefile
index ee5ef2695b2b..73b65b5a7acb 100644
--- a/comms/tkscanfax/Makefile
+++ b/comms/tkscanfax/Makefile
@@ -20,18 +20,17 @@ PLIST_SUB= TKSCANFAXDIR="${TKSCANFAXDIR:S,^${PREFIX}/,,}"
TKSCANFAXDIR= ${PREFIX}/lib/tkscanfax1
-NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -i '' -e \
's|/usr/local/lib|${PREFIX}/lib|g'
do-install:
- @${MKDIR} ${TKSCANFAXDIR}
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${TKSCANFAXDIR})
+ @${MKDIR} ${STAGEDIR}${TKSCANFAXDIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${TKSCANFAXDIR})
.for file in tkfax tkscan
- ${CHMOD} ${BINMODE} ${TKSCANFAXDIR}/${file}
- ${CHOWN} ${BINOWN}:${BINGRP} ${TKSCANFAXDIR}/${file}
- ${LN} -sf ${TKSCANFAXDIR}/${file} ${PREFIX}/bin
+ ${CHMOD} ${BINMODE} ${STAGEDIR}${TKSCANFAXDIR}/${file}
+ ${CHOWN} ${BINOWN}:${BINGRP} ${STAGEDIR}${TKSCANFAXDIR}/${file}
+ ${LN} -sf ${TKSCANFAXDIR}/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
.include <bsd.port.mk>
diff --git a/comms/tkscanfax/pkg-plist b/comms/tkscanfax/pkg-plist
index b37b0fe27608..1d746235ad01 100644
--- a/comms/tkscanfax/pkg-plist
+++ b/comms/tkscanfax/pkg-plist
@@ -1,3 +1,5 @@
+bin/tkfax
+bin/tkscan
%%TKSCANFAXDIR%%/Makefile
%%TKSCANFAXDIR%%/doc/C/Config_Help.html
%%TKSCANFAXDIR%%/doc/C/Cover_Page_Help.html
@@ -90,10 +92,6 @@
%%TKSCANFAXDIR%%/tkscan
%%TKSCANFAXDIR%%/tkscan.desktop
%%TKSCANFAXDIR%%/tkscanfax.spec
-@exec /bin/ln -sf %D/%%TKSCANFAXDIR%%/tkfax %D/bin
-@exec /bin/ln -sf %D/%%TKSCANFAXDIR%%/tkscan %D/bin
-@unexec /bin/rm -f %D/bin/tkfax
-@unexec /bin/rm -f %D/bin/tkscan
@dirrm %%TKSCANFAXDIR%%/tex
@dirrm %%TKSCANFAXDIR%%/scan-drivers
@dirrm %%TKSCANFAXDIR%%/images