diff options
author | marino <marino@FreeBSD.org> | 2014-07-31 03:16:24 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-07-31 03:16:24 +0800 |
commit | 2e2dd4c420ef65dd6347124bcbc40a230742afe0 (patch) | |
tree | 9c6b2b88c42b46d43f00dddfc4583b2b9b56b2a7 /x11-clocks | |
parent | b879cf43d27e2b78b87b68e07f955cac659e878c (diff) | |
download | freebsd-ports-gnome-2e2dd4c420ef65dd6347124bcbc40a230742afe0.tar.gz freebsd-ports-gnome-2e2dd4c420ef65dd6347124bcbc40a230742afe0.tar.zst freebsd-ports-gnome-2e2dd4c420ef65dd6347124bcbc40a230742afe0.zip |
Stage x11-clocks/intclock
PR: 192259
Submitted by: fullermd (over-yonder.net)
Refinement: marino
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/intclock/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/x11-clocks/intclock/Makefile b/x11-clocks/intclock/Makefile index 53692036f19d..33f2abfd39f6 100644 --- a/x11-clocks/intclock/Makefile +++ b/x11-clocks/intclock/Makefile @@ -16,18 +16,22 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e \ - 's|$$zonedir/$$countryfile|/usr/share/misc/iso3166|' \ - ${WRKSRC}/lib/Intclock/TZ.pm - @${REINPLACE_CMD} -e 's|$$prefix/share/intclock|${DATADIR}|;\ - s|/usr/share|${PREFIX}/share|' ${WRKSRC}/Makefile.PL - @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|;\ - s|/usr/share/intclock|${DATADIR}|' ${WRKSRC}/data/intclock.desktop + @${REINPLACE_CMD} \ + -e 's|$$zonedir/$$countryfile|/usr/share/misc/iso3166|' \ + ${WRKSRC}/lib/Intclock/TZ.pm + @${REINPLACE_CMD} \ + -e 's|$$prefix/share/intclock|${DATADIR}|' \ + -e 's|/usr/share|$$(DESTDIR)${PREFIX}/share|' \ + -e 's|DATADIR = $$datadir|DATADIR = $$(DESTDIR)$$datadir|' \ + ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} \ + -e 's|/usr/bin|${PREFIX}/bin|' \ + -e 's|/usr/share/intclock|${DATADIR}|' \ + ${WRKSRC}/data/intclock.desktop @${FIND} ${WRKSRC} -name \*.bak -delete pre-install: - @${INSTALL} -d ${PREFIX}/share/applications/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications/ .include <bsd.port.mk> |