diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-04-12 07:18:23 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-04-12 07:18:23 +0000 |
commit | b1f13ea1a481da1f83ca7024712df3e1d20f5174 (patch) | |
tree | ecc054deb50fa77af79260d85a6a6d2c8abb4cc5 | |
parent | f121b5e6fcda7f89922f1a8f0d4bcf2dd870b036 (diff) | |
download | ports-b1f13ea1a481da1f83ca7024712df3e1d20f5174.tar.gz ports-b1f13ea1a481da1f83ca7024712df3e1d20f5174.zip |
Notes
-rw-r--r-- | www/mod_color/Makefile | 19 | ||||
-rw-r--r-- | www/mod_color/pkg-plist | 3 | ||||
-rw-r--r-- | www/mod_cvs/Makefile | 11 | ||||
-rw-r--r-- | www/mod_cvs/pkg-plist | 3 |
4 files changed, 13 insertions, 23 deletions
diff --git a/www/mod_color/Makefile b/www/mod_color/Makefile index 27c856dbd88e..c87d509a4211 100644 --- a/www/mod_color/Makefile +++ b/www/mod_color/Makefile @@ -9,25 +9,24 @@ PORTNAME= mod_color PORTVERSION= 0.3 CATEGORIES= www # mastersite disappeared in 2001 -MASTER_SITES= # http://www.dimensional.com/~bgiles/mod_color/ +MASTER_SITES= # http://www.dimensional.com/~bgiles/${PORTNAME} DISTNAME= ${PORTNAME} EXTRACT_SUFX= .l MAINTAINER= apache@FreeBSD.org COMMENT= Apache module that provides syntax coloring for various languages -USE_APACHE= yes +USE_APACHE= 1.3 +AP_FAST_BUILD= yes +AP_GENPLIST= yes + NO_WRKSUBDIR= yes do-extract: - ${MKDIR} ${WRKSRC} - ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} - -do-build: - lex -t -Psyncc ${WRKSRC}/mod_color.l > ${WRKSRC}/mod_color.c - @cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c + ${MKDIR} ${WRKSRC}/ + ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/ -do-install: - ${APXS} -i -A -n ${PORTNAME:S/_//g} ${WRKSRC}/${PORTNAME}.so +pre-build: + lex -t -Psyncc ${WRKSRC}/${PORTNAME}.l > ${WRKSRC}/${PORTNAME}.c .include <bsd.port.mk> diff --git a/www/mod_color/pkg-plist b/www/mod_color/pkg-plist deleted file mode 100644 index 1b0929b5aef6..000000000000 --- a/www/mod_color/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -libexec/apache/mod_color.so -@exec %D/sbin/apxs -e -A -n color %D/%F -@unexec %D/sbin/apxs -e -A -n color %D/%F diff --git a/www/mod_cvs/Makefile b/www/mod_cvs/Makefile index 62123d7d90d6..dc2445dbc227 100644 --- a/www/mod_cvs/Makefile +++ b/www/mod_cvs/Makefile @@ -18,14 +18,11 @@ COMMENT= A module that makes Apache CVS aware CONFLICTS= apache-contrib-1.* -USE_APACHE= yes -MAKE_ARGS+= APXS="${APXS}" +USE_APACHE= 1.3 +AP_FAST_BUILD= yes +AP_GENPLIST= yes -post-patch: - @${REINPLACE_CMD} -e 's,apxs,${APXS},g' ${WRKSRC}/Makefile - -do-install: - ${APXS} -i -A -n cvs ${WRKSRC}/mod_cvs.so +post-install: @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/www/mod_cvs/pkg-plist b/www/mod_cvs/pkg-plist deleted file mode 100644 index 96f82cea4022..000000000000 --- a/www/mod_cvs/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -libexec/apache/mod_cvs.so -@exec %D/sbin/apxs -e -a -n cvs %D/%f -@unexec echo "===> If you do not plan on reinstalling mod_cvs, you must manually remove"; echo "===> references to it in httpd.conf." |