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-nsmcrypt | |
parent | da3dbfd296cf4bd412797f03729a66fd12a5bc64 (diff) | |
download | ports-37281f769a2e336e48416d7d7d466a65a8ca49e8.tar.gz ports-37281f769a2e336e48416d7d7d466a65a8ca49e8.zip |
Notes
Diffstat (limited to 'security/aolserver-nsmcrypt')
-rw-r--r-- | security/aolserver-nsmcrypt/Makefile | 26 | ||||
-rw-r--r-- | security/aolserver-nsmcrypt/distinfo | 6 | ||||
-rw-r--r-- | security/aolserver-nsmcrypt/pkg-plist | 3 |
3 files changed, 20 insertions, 15 deletions
diff --git a/security/aolserver-nsmcrypt/Makefile b/security/aolserver-nsmcrypt/Makefile index 426ebe5b4955..8e785c5e93ef 100644 --- a/security/aolserver-nsmcrypt/Makefile +++ b/security/aolserver-nsmcrypt/Makefile @@ -6,8 +6,7 @@ # PORTNAME= nsmcrypt -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 mcrypt library WRKSRC= ${WRKDIR} -AOLSERVERBASE?= ${PREFIX}/aolserver +AOLSERVERBASE?= aolserver LIB_DEPENDS+= mcrypt.8:${PORTSDIR}/security/mcrypt -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/nsmcrypt.so \ + ${AOLSERVERBASE}/lib/libnsmcrypt.a \ + ${AOLSERVERBASE}/lib/libnsmcrypt.so + .include <bsd.port.pre.mk> -MAKE_ARGS= NSHOME=${AOLSERVERBASE} MODLIBS="-L${LOCALBASE}/lib -lmcrypt" \ - 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 -lmcrypt" \ + MODLIBS="-L${LOCALBASE}/lib -lmcrypt" .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-nsmcrypt/distinfo b/security/aolserver-nsmcrypt/distinfo index d98c37a140f1..1b71e878a3e1 100644 --- a/security/aolserver-nsmcrypt/distinfo +++ b/security/aolserver-nsmcrypt/distinfo @@ -1,3 +1,3 @@ -MD5 (aolserver/nsmcrypt-1.0.tgz) = bf768b58f78ef93cc306c2a671ae0c03 -SHA256 (aolserver/nsmcrypt-1.0.tgz) = 1783f2167da0c699a95ae9c5e6412ccbf29e36d8fbd510e81c5e227af927b41b -SIZE (aolserver/nsmcrypt-1.0.tgz) = 19297 +MD5 (aolserver/nsmcrypt-1.1.tgz) = ab176455754cfe5163f551c31000b56d +SHA256 (aolserver/nsmcrypt-1.1.tgz) = 7950321803a9f80ce66f8ef19e2f38abecd7fa462f34a0f51b546c6fea52e46c +SIZE (aolserver/nsmcrypt-1.1.tgz) = 39609 diff --git a/security/aolserver-nsmcrypt/pkg-plist b/security/aolserver-nsmcrypt/pkg-plist deleted file mode 100644 index b5af92014b50..000000000000 --- a/security/aolserver-nsmcrypt/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%AOLSERVERBASE%%/bin/nsmcrypt.so -%%AOLSERVERBASE%%/lib/libnsmcrypt.a -%%AOLSERVERBASE%%/lib/libnsmcrypt.so |