openbsd-ports/www/cgiparse/Makefile

37 lines
802 B
Makefile

# $OpenBSD: Makefile,v 1.28 2008/01/04 17:48:37 espie Exp $
COMMENT= C library to parse CGI Forms
DISTNAME= cgiparse-0.9b
PKGNAME= ${DISTNAME}p0
CATEGORIES= www
SHARED_LIBS= cgiparse 1.0
HOMEPAGE= http://resnet.uoregon.edu/~gurney_j/jmpc/cgiparse.html
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://resnet.uoregon.edu/~gurney_j/jmpc/dist/
CONFIGURE_STYLE= gnu
.if $(MACHINE_ARCH) == "alpha"
BROKEN= Alpha architecture not yet supported
.endif
NO_REGRESS= Yes
MAKE_ENV= LIBcgiparse_VERSION=${LIBcgiparse_VERSION}
FAKE_FLAGS= MANDIR=${WRKINST}${PREFIX}/man
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
ALL_TARGET= allstatic
INSTALL_TARGET= installstatic
.endif