svn commit: r363507 - head/x11-clocks/intclock
John Marino
marino at FreeBSD.org
Wed Jul 30 19:16:25 UTC 2014
Author: marino
Date: Wed Jul 30 19:16:24 2014
New Revision: 363507
URL: http://svnweb.freebsd.org/changeset/ports/363507
QAT: https://qat.redports.org/buildarchive/r363507/
Log:
Stage x11-clocks/intclock
PR: 192259
Submitted by: fullermd (over-yonder.net)
Refinement: marino
Modified:
head/x11-clocks/intclock/Makefile
Modified: head/x11-clocks/intclock/Makefile
==============================================================================
--- head/x11-clocks/intclock/Makefile Wed Jul 30 19:12:51 2014 (r363506)
+++ head/x11-clocks/intclock/Makefile Wed Jul 30 19:16:24 2014 (r363507)
@@ -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>
More information about the svn-ports-head
mailing list