1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/cgiparse/Makefile
Olli Hauer 31c72f1028 - add stage support
- allow build / strip without root privilege
2014-05-24 17:21:37 +00:00

25 lines
517 B
Makefile

# Created by: jmg
# $FreeBSD$
PORTNAME= cgiparse
PORTVERSION= 0.9b
CATEGORIES= www devel
MASTER_SITES= http://resnet.uoregon.edu/~gurney_j/jmpc/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= C library to parse CGI Forms
LIB_DEPENDS= libmime.so:${PORTSDIR}/devel/mime
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CFLAGS+= "-fPIC"
.include <bsd.port.pre.mk>
post-install:
${LN} -sf libcgiparse.so.1 ${STAGEDIR}${PREFIX}/lib/libcgiparse.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgiparse.so
.include <bsd.port.post.mk>