diff options
author | Martin Matuska <mm@FreeBSD.org> | 2007-07-02 22:39:53 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2007-07-02 22:39:53 +0000 |
commit | 37281f769a2e336e48416d7d7d466a65a8ca49e8 (patch) | |
tree | 68f345069315ff8b334eab9e9d0caf04df69c4bf /security/aolserver-nsmhash | |
parent | da3dbfd296cf4bd412797f03729a66fd12a5bc64 (diff) |
Notes
Diffstat (limited to 'security/aolserver-nsmhash')
-rw-r--r-- | security/aolserver-nsmhash/Makefile | 26 | ||||
-rw-r--r-- | security/aolserver-nsmhash/distinfo | 6 | ||||
-rw-r--r-- | security/aolserver-nsmhash/pkg-plist | 3 |
3 files changed, 20 insertions, 15 deletions
diff --git a/security/aolserver-nsmhash/Makefile b/security/aolserver-nsmhash/Makefile index 1be411ec1b5e..7547fcc6f6ed 100644 --- a/security/aolserver-nsmhash/Makefile +++ b/security/aolserver-nsmhash/Makefile @@ -6,8 +6,7 @@ # PORTNAME= nsmhash -PORTVERSION= 1.0 -PORTREVISION= 1 +PORTVERSION= 1.1 CATEGORIES= security www MASTER_SITES= http://www.aolserver.cz/download/ PKGNAMEPREFIX= aolserver- @@ -19,28 +18,37 @@ COMMENT= AOLserver interface to mhash library WRKSRC= ${WRKDIR} -AOLSERVERBASE?= ${PREFIX}/aolserver +AOLSERVERBASE?= aolserver LIB_DEPENDS+= mhash.2:${PORTSDIR}/security/mhash -BUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver +BUILD_DEPENDS+= ${LOCALBASE}/${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver RUN_DEPENDS+= ${BUILD_DEPENDS} -PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${PREFIX}\///} USE_GMAKE= yes +MAKEFILE= Makefile.ns USE_TCL= 84+ USE_TCL_THREADS= yes +PLIST_FILES= ${AOLSERVERBASE}/bin/nsmhash.so \ + ${AOLSERVERBASE}/lib/libnsmhash.a \ + ${AOLSERVERBASE}/lib/libnsmhash.so + .include <bsd.port.pre.mk> -MAKE_ARGS= NSHOME=${AOLSERVERBASE} MODLIBS="-L${LOCALBASE}/lib -lmhash" \ - CFLAGS="-I. -I${AOLSERVERBASE}/include -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -DAOL4=1 -fPIC" +CFLAGS+= "-I${LOCALBASE}/include" +MAKE_ARGS+= NSHOME="${LOCALBASE}/${AOLSERVERBASE}" \ + DLLLIBS="-L${LOCALBASE}/lib -lmhash" \ + MODLIBS="-L${LOCALBASE}/lib -lmhash" .if !defined(NOPORTDOCS) -PORTDOCS= AUTHORS COPYING README +PORTDOCS= AUTHORS CHANGES COPYING README .endif post-patch: - @ ${REINPLACE_CMD} -e 's|OBJS|MODOBJS|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's/^CFLAGS =/CFLAGS +=/g' \ + -e 's/^MODLIBS =/MODLIBS +=/g' \ + -e '/^OBJS =.*/{n;s/.*/MODOBJS = $$(OBJS)/g;G;}' \ + ${WRKSRC}/${MAKEFILE} post-install: .if !defined(NOPORTDOCS) diff --git a/security/aolserver-nsmhash/distinfo b/security/aolserver-nsmhash/distinfo index 7c0663e02ae7..839241635e80 100644 --- a/security/aolserver-nsmhash/distinfo +++ b/security/aolserver-nsmhash/distinfo @@ -1,3 +1,3 @@ -MD5 (aolserver/nsmhash-1.0.tgz) = 882d71940f404f680f320ae9d02eccb0 -SHA256 (aolserver/nsmhash-1.0.tgz) = 2a889e8c7aecea0dfbeedf713f59465767a0c3b8562276b88fbfebb1e0ea3a61 -SIZE (aolserver/nsmhash-1.0.tgz) = 18692 +MD5 (aolserver/nsmhash-1.1.tgz) = be39f8d5c62871aa5966de37ff32ae35 +SHA256 (aolserver/nsmhash-1.1.tgz) = e87fa32e842682f7d8f7133ac537ccda9b0ee6449222188c97b06ce6958c6b0f +SIZE (aolserver/nsmhash-1.1.tgz) = 37145 diff --git a/security/aolserver-nsmhash/pkg-plist b/security/aolserver-nsmhash/pkg-plist deleted file mode 100644 index 225ddb10d338..000000000000 --- a/security/aolserver-nsmhash/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%AOLSERVERBASE%%/bin/nsmhash.so -%%AOLSERVERBASE%%/lib/libnsmhash.a -%%AOLSERVERBASE%%/lib/libnsmhash.so |