aboutsummaryrefslogtreecommitdiff
path: root/www/aolserver-nscache
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-07-02 22:54:02 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-07-02 22:54:02 +0000
commit22d3ded4158dd81ed3c128abd79cdd8b989cf5a2 (patch)
tree4ba5c793dda648c0b97a83fd24f83af8bc3edab6 /www/aolserver-nscache
parent36cebc538a36e33bca360a1620f12fad8b4926bb (diff)
Notes
Diffstat (limited to 'www/aolserver-nscache')
-rw-r--r--www/aolserver-nscache/Makefile16
-rw-r--r--www/aolserver-nscache/pkg-plist3
2 files changed, 11 insertions, 8 deletions
diff --git a/www/aolserver-nscache/Makefile b/www/aolserver-nscache/Makefile
index 8d357d47956b..895dc0d38a62 100644
--- a/www/aolserver-nscache/Makefile
+++ b/www/aolserver-nscache/Makefile
@@ -7,6 +7,7 @@
PORTNAME= aolserver-nscache
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= www databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= aolserver
@@ -18,21 +19,26 @@ COMMENT= Tcl interface to AOLserver's caching API
WRKSRC= ${WRKDIR}/nscache-${PORTVERSION}
-AOLSERVERBASE?= ${PREFIX}/aolserver
-BUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver
+AOLSERVERBASE?= aolserver
+BUILD_DEPENDS+= ${LOCALBASE}/${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver
RUN_DEPENDS+= ${BUILD_DEPENDS}
-PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${PREFIX}\///}
USE_GMAKE= yes
-MAKE_ARGS= AOLSERVER=${AOLSERVERBASE}
+MAKE_ARGS= AOLSERVER="${LOCALBASE}/${AOLSERVERBASE}"
+
+PLIST_FILES= ${AOLSERVERBASE}/bin/nscache.so \
+ ${AOLSERVERBASE}/lib/libnscache.a \
+ ${AOLSERVERBASE}/lib/libnscache.so
.if !defined(NOPORTDOCS)
PORTDOCS= ChangeLog index.html
.endif
post-patch:
- @ ${REINPLACE_CMD} -e 's|OBJS|MODOBJS|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} \
+ -e '/^OBJS =.*/{p;s/OBJS =.*/MODOBJS = $$(OBJS)/g;}' \
+ ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
diff --git a/www/aolserver-nscache/pkg-plist b/www/aolserver-nscache/pkg-plist
deleted file mode 100644
index 039c318e6d15..000000000000
--- a/www/aolserver-nscache/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%AOLSERVERBASE%%/bin/nscache.so
-%%AOLSERVERBASE%%/lib/libnscache.a
-%%AOLSERVERBASE%%/lib/libnscache.so