diff options
author | gabor <gabor@FreeBSD.org> | 2007-02-02 22:06:02 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2007-02-02 22:06:02 +0800 |
commit | acfc8a371e282842cb25a98bff9f05337171d0c8 (patch) | |
tree | 7fe20f8aae92dab091d810e2ecf3cca53e2bebd0 /security/aolserver-nsmhash | |
parent | 86d4fc7bc3cc5cf9e969e42b007065ad45e9338c (diff) | |
download | freebsd-ports-graphics-acfc8a371e282842cb25a98bff9f05337171d0c8.tar.gz freebsd-ports-graphics-acfc8a371e282842cb25a98bff9f05337171d0c8.tar.zst freebsd-ports-graphics-acfc8a371e282842cb25a98bff9f05337171d0c8.zip |
AOLserver interface to mhash library
WWW: http://www.aolserver.cz/
- Martin Matuska
martin@matuska.org
PR: ports/105781
Submitted by: Martin Matuska <martin@matuska.org>
Approved by: erwin (mentor)
Diffstat (limited to 'security/aolserver-nsmhash')
-rw-r--r-- | security/aolserver-nsmhash/Makefile | 49 | ||||
-rw-r--r-- | security/aolserver-nsmhash/distinfo | 3 | ||||
-rw-r--r-- | security/aolserver-nsmhash/pkg-descr | 6 | ||||
-rw-r--r-- | security/aolserver-nsmhash/pkg-plist | 3 |
4 files changed, 61 insertions, 0 deletions
diff --git a/security/aolserver-nsmhash/Makefile b/security/aolserver-nsmhash/Makefile new file mode 100644 index 00000000000..a6e8d3fcada --- /dev/null +++ b/security/aolserver-nsmhash/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: aolserver-nsmhash +# Date created: 12 Oct 2006 +# Whom: Martin Matuska <martin@matuska.org> +# +# $FreeBSD$ +# + +PORTNAME= aolserver-nsmhash +PORTVERSION= 1.0 +CATEGORIES= security www +MASTER_SITES= http://www.aolserver.cz/download/ +DISTFILES= nsmhash-${PORTVERSION}.tgz +DIST_SUBDIR= aolserver + +MAINTAINER= martin@matuska.org +COMMENT= AOLserver interface to mhash library + +WRKSRC= ${WRKDIR} + +AOLSERVERBASE?= ${PREFIX}/aolserver +LIB_DEPENDS+= mhash.2:${PORTSDIR}/security/mhash +BUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver +RUN_DEPENDS+= ${BUILD_DEPENDS} +PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${PREFIX}\///} + +USE_GMAKE= yes +USE_TCL_BUILD= yes + +.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" + +.if !defined(NOPORTDOCS) +PORTDOCS= AUTHORS COPYING README +.endif + +post-patch: + @ ${REINPLACE_CMD} -e 's|OBJS|MODOBJS|' ${WRKSRC}/Makefile + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${DOCSDIR} +.for FILE in ${PORTDOCS} + @ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/security/aolserver-nsmhash/distinfo b/security/aolserver-nsmhash/distinfo new file mode 100644 index 00000000000..7c0663e02ae --- /dev/null +++ b/security/aolserver-nsmhash/distinfo @@ -0,0 +1,3 @@ +MD5 (aolserver/nsmhash-1.0.tgz) = 882d71940f404f680f320ae9d02eccb0 +SHA256 (aolserver/nsmhash-1.0.tgz) = 2a889e8c7aecea0dfbeedf713f59465767a0c3b8562276b88fbfebb1e0ea3a61 +SIZE (aolserver/nsmhash-1.0.tgz) = 18692 diff --git a/security/aolserver-nsmhash/pkg-descr b/security/aolserver-nsmhash/pkg-descr new file mode 100644 index 00000000000..18f40362c8d --- /dev/null +++ b/security/aolserver-nsmhash/pkg-descr @@ -0,0 +1,6 @@ +AOLserver interface to mhash library + +WWW: http://www.aolserver.cz/ + +- Martin Matuska +martin@matuska.org diff --git a/security/aolserver-nsmhash/pkg-plist b/security/aolserver-nsmhash/pkg-plist new file mode 100644 index 00000000000..225ddb10d33 --- /dev/null +++ b/security/aolserver-nsmhash/pkg-plist @@ -0,0 +1,3 @@ +%%AOLSERVERBASE%%/bin/nsmhash.so +%%AOLSERVERBASE%%/lib/libnsmhash.a +%%AOLSERVERBASE%%/lib/libnsmhash.so |