1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/security/aolserver-nsmhash/Makefile
Martin Matuska 8413b1b1d5 - updated maintainer e-mail address
Approved by:	garga (mentor)
2007-04-05 13:19:09 +00:00

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: aolserver-nsmhash
# Date created: 12 Oct 2006
# Whom: Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nsmhash
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= security www
MASTER_SITES= http://www.aolserver.cz/download/
PKGNAMEPREFIX= aolserver-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= aolserver
MAINTAINER= mm@FreeBSD.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= 84+
USE_TCL_THREADS= 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>