mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
31c72f1028
- allow build / strip without root privilege
25 lines
517 B
Makefile
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>
|