# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # graphics/aolserver-nsgd # graphics/aolserver-nsgd/Makefile # graphics/aolserver-nsgd/distinfo # graphics/aolserver-nsgd/pkg-descr # graphics/aolserver-nsgd/pkg-plist # echo c - graphics/aolserver-nsgd mkdir -p graphics/aolserver-nsgd > /dev/null 2>&1 echo x - graphics/aolserver-nsgd/Makefile sed 's/^X//' >graphics/aolserver-nsgd/Makefile << 'END-of-graphics/aolserver-nsgd/Makefile' X# New ports collection makefile for: aolserver-nsgd X# Date created: 12 Oct 2006 X# Whom: Martin Matuska X# X# $FreeBSD$ X# X XPORTNAME= aolserver-nsgd XPORTVERSION= 2.0 XCATEGORIES= graphics www XMASTER_SITES= http://www.aolserver.cz/download/ XDISTFILES= nsgd2.tgz XDIST_SUBDIR= aolserver X XMAINTAINER= martin@matuska.org XCOMMENT= Graphics module for AOLserver X XWRKSRC= ${WRKDIR} X XAOLSERVERBASE?= ${TARGETDIR}/aolserver XLIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd XBUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver XRUN_DEPENDS+= ${BUILD_DEPENDS} XPLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${TARGETDIR}\///} X XUSE_GMAKE= yes XUSE_TCL_BUILD= yes X X.include X XMAKE_ARGS= NSHOME=${AOLSERVERBASE} MODLIBS="-L${LOCALBASE}/lib -lgd" \ X CFLAGS="-I. -I${AOLSERVERBASE}/include -I/usr/local/include -I${TCL_INCLUDEDIR} -DAOL4=1 -fPIC" X XPORTDOCS= nsgd.html X Xpost-patch: X @ ${REINPLACE_CMD} -e 's|OBJS|MODOBJS|' ${WRKSRC}/Makefile X Xpost-install: X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${DOCSDIR} X.for FILE in ${PORTDOCS} X @ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X.endif X X.include END-of-graphics/aolserver-nsgd/Makefile echo x - graphics/aolserver-nsgd/distinfo sed 's/^X//' >graphics/aolserver-nsgd/distinfo << 'END-of-graphics/aolserver-nsgd/distinfo' XMD5 (aolserver/nsgd2.tgz) = 761b52a9a0b0cb7f9761741ea519242e XSHA256 (aolserver/nsgd2.tgz) = 5631b94bb3322da74f71a65a5e768f07d75f4b27be74f1d38edd268db3824192 XSIZE (aolserver/nsgd2.tgz) = 14602 END-of-graphics/aolserver-nsgd/distinfo echo x - graphics/aolserver-nsgd/pkg-descr sed 's/^X//' >graphics/aolserver-nsgd/pkg-descr << 'END-of-graphics/aolserver-nsgd/pkg-descr' XGraphics module for aolserver (3.x,4.x) X XWWW: http://www.aolserver.cz/ X X- Martin Matuska Xmartin@matuska.org END-of-graphics/aolserver-nsgd/pkg-descr echo x - graphics/aolserver-nsgd/pkg-plist sed 's/^X//' >graphics/aolserver-nsgd/pkg-plist << 'END-of-graphics/aolserver-nsgd/pkg-plist' X%%AOLSERVERBASE%%/bin/nsgd2.so X%%AOLSERVERBASE%%/lib/libnsgd2.a X%%AOLSERVERBASE%%/lib/libnsgd2.so END-of-graphics/aolserver-nsgd/pkg-plist exit