1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/www/cgic/Makefile
Baptiste Daroussin e71de09d6d Do not let system make.conf inpact the port's makefile
This fixes build on current
2013-05-24 16:35:30 +00:00

34 lines
833 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= cgic
PORTVERSION= 2.05
CATEGORIES= www
MASTER_SITES= http://www.boutell.com/cgic/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= ANSI C library for CGI programming
MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
MAKEFILE= ${FILESDIR}/Makefile.lib
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
USE_LDCONFIG= yes
MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
SHLIB_MAJOR= ${PORTVERSION:R}
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/capture.c ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/cgictest.c ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>