diff options
author | mm <mm@FreeBSD.org> | 2007-07-03 06:43:31 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-07-03 06:43:31 +0800 |
commit | b341c4d415b3bde652752d645f3a7a997f23bf2f (patch) | |
tree | 3abf29ba737590f8ab30d5646d9ba2aa1b3f7690 /security | |
parent | 098b7ae41fa8cce3746e7e1fa7e5fbd3d9621ef2 (diff) | |
download | freebsd-ports-gnome-b341c4d415b3bde652752d645f3a7a997f23bf2f.tar.gz freebsd-ports-gnome-b341c4d415b3bde652752d645f3a7a997f23bf2f.tar.zst freebsd-ports-gnome-b341c4d415b3bde652752d645f3a7a997f23bf2f.zip |
- fix build of libns*.so
- move AOLSERVERBASE under PREFIX
- move small pkg-plist to PLIST_FILES
- bump PORTREVISION
Approved by: garga (mentor)
Diffstat (limited to 'security')
-rw-r--r-- | security/aolserver-nsencrypt/Makefile | 20 | ||||
-rw-r--r-- | security/aolserver-nsencrypt/pkg-plist | 3 |
2 files changed, 16 insertions, 7 deletions
diff --git a/security/aolserver-nsencrypt/Makefile b/security/aolserver-nsencrypt/Makefile index 9c70d49eaa14..28b1aec0dfea 100644 --- a/security/aolserver-nsencrypt/Makefile +++ b/security/aolserver-nsencrypt/Makefile @@ -7,6 +7,7 @@ PORTNAME= aolserver-nsencrypt PORTVERSION= 0.4 +PORTREVISION= 1 CATEGORIES= security www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= aolserver @@ -18,20 +19,31 @@ COMMENT= OpenSSL data encryption module for AOLserver WRKSRC= ${WRKDIR}/nsencrypt-${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}\///} +PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE} USE_OPENSSL= yes USE_GMAKE= yes -MAKE_ARGS= AOLSERVER=${AOLSERVERBASE} OPENSSL=${OPENSSLBASE} +MAKE_ARGS= AOLSERVER="${LOCALBASE}/${AOLSERVERBASE}" \ + OPENSSL="${OPENSSLBASE}" + +PLIST_FILES= ${AOLSERVERBASE}/bin/nsencrypt.so \ + ${AOLSERVERBASE}/lib/libnsencrypt.a \ + ${AOLSERVERBASE}/lib/libnsencrypt.so .if !defined(NOPORTDOCS) PORTDOCS= ChangeLog readme.txt .endif +post-patch: + @${REINPLACE_CMD} \ + -e '/^MODOBJS =.*/{p;s/MODOBJS =/OBJS +=/g;}' \ + -e '/^MODLIBS =.*/{p;s/MODLIBS =/DLLLIBS +=/g;}' \ + ${WRKSRC}/Makefile + post-install: .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR} diff --git a/security/aolserver-nsencrypt/pkg-plist b/security/aolserver-nsencrypt/pkg-plist deleted file mode 100644 index ba4ce9d6dc8f..000000000000 --- a/security/aolserver-nsencrypt/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%AOLSERVERBASE%%/bin/nsencrypt.so -%%AOLSERVERBASE%%/lib/libnsencrypt.a -%%AOLSERVERBASE%%/lib/libnsencrypt.so |