mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage x11-clocks/intclock
PR: 192259 Submitted by: fullermd (over-yonder.net) Refinement: marino
This commit is contained in:
parent
f4331a7e12
commit
7402ca93ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363507
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user