aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/afterstep-i18n/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-07-05 17:02:01 +0800
committeritetcu <itetcu@FreeBSD.org>2008-07-05 17:02:01 +0800
commit88455c3a7bddbcb8af79e56baf74857310a2b6b8 (patch)
treedee3f165fa0d121151c80c7ebcd32c5953896b7a /x11-wm/afterstep-i18n/Makefile
parent990e70c388f69ce806138fc4d8f7d43fd13037d2 (diff)
downloadfreebsd-ports-gnome-88455c3a7bddbcb8af79e56baf74857310a2b6b8.tar.gz
freebsd-ports-gnome-88455c3a7bddbcb8af79e56baf74857310a2b6b8.tar.zst
freebsd-ports-gnome-88455c3a7bddbcb8af79e56baf74857310a2b6b8.zip
- respect DOCSDIR
- fix plist with -DNOPORTDOCS - use REINPLACE_CMD - bump PORTREVISION Prompted by: QA Tindy run
Diffstat (limited to 'x11-wm/afterstep-i18n/Makefile')
-rw-r--r--x11-wm/afterstep-i18n/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/x11-wm/afterstep-i18n/Makefile b/x11-wm/afterstep-i18n/Makefile
index 6c14d4ee501f..edc67c4d83ae 100644
--- a/x11-wm/afterstep-i18n/Makefile
+++ b/x11-wm/afterstep-i18n/Makefile
@@ -7,7 +7,7 @@
PORTNAME= afterstep-i18n
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-wm afterstep
MASTER_SITES= ${MASTER_SITE_AFTERSTEP:S/$/:afterstep/} \
${MASTER_SITE_LOCAL:S/$/:local/} \
@@ -49,10 +49,8 @@ pre-patch:
post-patch:
@ ${CP} ${WRKSRC}/sample.steprc ${WRKSRC}/sample.steprc.ja_JP.EUC
@ ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/steprc.ja.diff
- @ for i in ${SRCDIRS}; do \
- cd ${WRKSRC}/$$i; \
- ${MV} Imakefile Imakefile.orig; \
- ${SED} -e 's/#ifdef AlphaArchitecture/#if defined(AlphaArchitecture) \&\& !defined(FreeBSDArchitecture)/' < Imakefile.orig > Imakefile; \
+ for i in ${SRCDIRS}; do \
+ ${REINPLACE_CMD} -e 's/#ifdef AlphaArchitecture/#if defined(AlphaArchitecture) \&\& !defined(FreeBSDArchitecture)/' ${WRKSRC}/$${i}/Imakefile ; \
done
pre-build:
@@ -72,12 +70,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/sample.steprc.ja_JP.EUC ${AFTERSTEPDIR}/system.steprc.ja_JP.EUC
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/afterstep
+ @ ${MKDIR} ${DOCSDIR}
.for i in CHANGES CREDITS README README.8bit INSTALL FAQ module-interface.txt
- ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/afterstep
+ ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.for i in CHANGES.I18N README.I18N README.I18N.jis
- ${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/doc/afterstep
+ ${INSTALL_DATA} ${WRKDIR}/$i ${DOCSDIR}
.endfor
.endif