pkgsrc/databases/qdbm-cgi/Makefile

27 lines
684 B
Makefile

# $NetBSD: Makefile,v 1.6 2012/10/02 21:25:51 asau Exp $
#
.include "../../databases/qdbm/Makefile.common"
PKGNAME= qdbm-cgi-0.0.1.${QDBM_VERSION}
CATEGORIES= databases www
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://qdbm.sourceforge.net/
COMMENT= CGI scripts of QDBM
LICENSE= gnu-lgpl-v2.1
MY_SUBDIR= cgi
BUILD_DIRS= ${MY_SUBDIR}
CONFIGURE_DIRS= ${MY_SUBDIR}
GNU_CONFIGURE= yes
.include "../../databases/qdbm/buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= ${MY_SUBDIR}/configure
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
.endif
.include "../../mk/bsd.pkg.mk"