freebsd-ports/archivers/aolserver-nszlib/Makefile
Gabor Kovesdan 4abd72c907 AOLserver interface to zlib library
WWW: http://www.crystalballinc.com/vlad/software/

- Martin Matuska
martin@matuska.org

PR:		ports/105781
Submitted by:	Martin Matuska <martin@matuska.org>
Approved by:	erwin (mentor)
2007-02-02 14:26:28 +00:00

44 lines
987 B
Makefile

# New ports collection makefile for: aolserver-nszlib
# Date created: 12 Oct 2006
# Whom: Martin Matuska <martin@matuska.org>
#
# $FreeBSD$
#
PORTNAME= aolserver-nszlib
PORTVERSION= 1.1
CATEGORIES= archivers www
MASTER_SITES= ftp://ftp.crystalballinc.com/pub/vlad/
MASTER_SITE_SUBDIR= aolserver
DISTNAME= nszlib
DIST_SUBDIR= aolserver
MAINTAINER= martin@matuska.org
COMMENT= Zlib library interface for AOLserver
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}
.if !defined(NOPORTDOCS)
PORTDOCS= ChangeLog README example.tcl
.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.mk>