# New ports collection makefile for: aolserver-nssha1 # Date created: 12 Oct 2006 # Whom: Martin Matuska # # $FreeBSD$ # PORTNAME= aolserver-nssha1 PORTVERSION= 0.1 CATEGORIES= security www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= aolserver DISTFILES= nssha1-${PORTVERSION}.tar.gz DIST_SUBDIR= aolserver MAINTAINER= martin@matuska.org COMMENT= AOLserver module to perform SHA1 hashes WRKSRC= ${WRKDIR}/nssha1-${PORTVERSION} AOLSERVERBASE?= ${PREFIX}/aolserver BUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver RUN_DEPENDS+= ${BUILD_DEPENDS} PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${PREFIX}\///} USE_GMAKE= yes MAKE_ARGS= AOLSERVER=${AOLSERVERBASE} OPENSSL=${OPENSSLBASE} .if !defined(NOPORTDOCS) PORTDOCS= ChangeLog .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