diff options
author | mm <mm@FreeBSD.org> | 2007-07-03 06:39:53 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-07-03 06:39:53 +0800 |
commit | 098b7ae41fa8cce3746e7e1fa7e5fbd3d9621ef2 (patch) | |
tree | 35b979d1d0a2d64082054c6e0b627b433f0bf851 /security/aolserver-nsmcrypt | |
parent | f16491900a911ae7c829ff72f8391be970229f08 (diff) | |
download | freebsd-ports-graphics-098b7ae41fa8cce3746e7e1fa7e5fbd3d9621ef2.tar.gz freebsd-ports-graphics-098b7ae41fa8cce3746e7e1fa7e5fbd3d9621ef2.tar.zst freebsd-ports-graphics-098b7ae41fa8cce3746e7e1fa7e5fbd3d9621ef2.zip |
- update to 1.1
- move AOLSERVERBASE under PREFIX
- move small pkg-plist to PLIST_FILES
Approved by: garga (mentor)
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 426ebe5b495..8e785c5e93e 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 d98c37a140f..1b71e878a3e 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 b5af92014b5..00000000000 --- a/security/aolserver-nsmcrypt/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%AOLSERVERBASE%%/bin/nsmcrypt.so -%%AOLSERVERBASE%%/lib/libnsmcrypt.a -%%AOLSERVERBASE%%/lib/libnsmcrypt.so |