diff options
author | John Marino <marino@FreeBSD.org> | 2014-07-30 19:16:24 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-07-30 19:16:24 +0000 |
commit | 7402ca93ec5a916b49456bcacfc4343599bb3281 (patch) | |
tree | 9c6b2b88c42b46d43f00dddfc4583b2b9b56b2a7 /x11-clocks | |
parent | f4331a7e1274360f75d90acbcd6d6707b09f2c20 (diff) | |
download | ports-7402ca93ec5a916b49456bcacfc4343599bb3281.tar.gz ports-7402ca93ec5a916b49456bcacfc4343599bb3281.zip |
Notes
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> |