aboutsummaryrefslogtreecommitdiff
path: root/japanese/mutt-devel/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-02 18:36:54 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-02 18:36:54 +0000
commitc78a6ff51bbf832c2efd180d95ad6c6675f944d0 (patch)
tree01c4d6c31bfb13d97e3e5cb754650accf2bccb59 /japanese/mutt-devel/Makefile
parent12e1ecf5983f15c091c62d092c93ece6d15a9823 (diff)
downloadports-c78a6ff51bbf832c2efd180d95ad6c6675f944d0.tar.gz
ports-c78a6ff51bbf832c2efd180d95ad6c6675f944d0.zip
o USE_AUTO* police sweep
- Don't hardcode, use {ACLOCAL,AUTO{CONF,HEADER,MAKE}}
Notes
Notes: svn path=/head/; revision=50883
Diffstat (limited to 'japanese/mutt-devel/Makefile')
-rw-r--r--japanese/mutt-devel/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/japanese/mutt-devel/Makefile b/japanese/mutt-devel/Makefile
index 74dd95960f39..ab9d849f3b65 100644
--- a/japanese/mutt-devel/Makefile
+++ b/japanese/mutt-devel/Makefile
@@ -70,7 +70,12 @@ pre-patch:
(cd ${WRKSRC}; ${PATCH} -p1 < ${DIFFDIR}/${DIFFNAME})
pre-configure:
- (cd ${WRKSRC}; aclocal -I m4)
+ (cd ${WRKSRC}; ${ACLOCAL} -I m4)
+
+pre-build:
+ @${PERL} -pi -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/; s/^(AUTOCONF = ).+/\1${AUTOCONF}/; \
+ s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/; s/^(AUTOHEADER = ).+/\1${AUTOHEADER}/" \
+ ${BUILD_WRKSRC}/Makefile
post-install:
${INSTALL_DATA} ${DIFFDIR}/INSTALL.JA-PATCH.en ${DOCSDIR}