pkgsrc-wip/libcgi/Makefile
Makoto Fujiwara 30148d0a8d Import libcgi-1.0 as wip/libcgi.
LibCGI is a library written from scratch to easily make CGI
applications in C.  There are a lot of functions like string
manipulation, session and cookie support, GET and POST methods
manipulation etc..., to help you to quickly write powerful CGI
programs.

There are some examples as well, so you can understand easily
how the library works.
2013-03-08 12:36:39 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2013/03/08 12:36:39 makoto Exp $
DISTNAME= libcgi-1.0
CATEGORIES= www
MASTER_SITES= http://prdownloads.sourceforge.net/libcgi/
LICENSE= generic-nonlicense
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://libcgi.sourceforge.net/
COMMENT= Library for authoring cgi
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
AUTO_MKDIRS= yes
SUBST_CLASSES+= dst
SUBST_MESSAGE.dst= Adding DESTDIR on top of install target
SUBST_FILES.dst= Makefile.in
SUBST_SED.dst= -e 's|@@DESTDIR@@|${DESTDIR}|g'
SUBST_STAGE.dst= pre-configure
SUBST_CLASSES+= libtool
SUBST_MESSAGE.libtool= Let examples libtoolize
SUBST_FILES.libtool+= examples/guestbook/Makefile
SUBST_FILES.libtool+= examples/multiple/Makefile
SUBST_FILES.libtool+= examples/redirect/Makefile
SUBST_FILES.libtool+= examples/session/session_ex1/Makefile
SUBST_FILES.libtool+= examples/session/session_ex2/Makefile
SUBST_FILES.libtool+= examples/simple_form/Makefile
SUBST_FILES.libtool+= examples/strings/Makefile
SUBST_STAGE.libtool= post-patch
SUBST_SED.libtool= -e 's|@@PREFIX@@|${PREFIX}|g'
do-install:
${MKDIR} ${DESTDIR}${PKGMANDIR}/man3
(cd ${WRKSRC}; \
${GMAKE} install; \
${GMAKE} install_man )
.include "../../mk/bsd.pkg.mk"