diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2002-10-13 13:04:06 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2002-10-13 13:04:06 +0000 |
commit | cfd28fa5ae58ea0c45b7703191bdb9bf40479f79 (patch) | |
tree | 5f7295e33a3f9637c019f793ea522a15a67d365d /devel/automake | |
parent | Cosmetic. Removed commented out stuff. (diff) |
1. Made post-install DESTDIR-safe.
2. Made nicer message when USE_AUTOMAKE* is defined.
3. Removed unneeded WRKSRC= line.
Diffstat (limited to 'devel/automake')
-rw-r--r-- | devel/automake/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/devel/automake/Makefile b/devel/automake/Makefile index d14e0c4488f7..094872c155cc 100644 --- a/devel/automake/Makefile +++ b/devel/automake/Makefile @@ -17,18 +17,24 @@ MAINTAINER= ports@geeksrus.net GNU_CONFIGURE= yes CONFIGURE_ENV= PERL=${PERL5} USE_PERL5= yes -WRKSRC= ${WRKDIR}/${DISTNAME} STRIP= # none .if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER) -.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again. -.endif +pre-everything: + @${ECHO} =========================================================== + @${ECHO} "You have 'USE_AUTOMAKE' or 'USE_AUTOMAKE_VER' variables" + @${ECHO} "defined either in environment or in make(1) arguments." + @${ECHO} "Please undefine them and try again." + @${ECHO} =========================================================== + @${FALSE} +.endif # defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER) pre-configure: ${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in post-install: - @install-info ${PREFIX}/info/automake.info ${PREFIX}/info/dir + @install-info ${DESTDIR}${PREFIX}/info/automake.info \ + ${DESTDIR}${PREFIX}/info/dir .include <bsd.port.mk> |