pkgsrc/chat/ser/Makefile
jlam cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00

33 lines
890 B
Makefile

# $NetBSD: Makefile,v 1.15 2005/08/20 19:16:21 jlam Exp $
#
DISTNAME= ser-0.8.10_src
PKGNAME= ser-0.8.10
PKGREVISION= 5
CATEGORIES= chat
MASTER_SITES= ftp://ftp.berlios.de/pub/ser/latest/src/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.iptel.org/ser/
COMMENT= SIP express router
WRKSRC= ${WRKDIR}/ser-0.8.10
USE_TOOLS+= gmake
USE_PKGINSTALL= yes
PKG_SYSCONFSUBDIR= ser
EGDIR= ${PREFIX}/share/examples/ser
CONF_FILES= ${EGDIR}/ser.cfg ${PKG_SYSCONFDIR}/ser.cfg
REQD_DIRS= ${EGDIR}
MAKE_ENV+= BUILDLINK_PREFIX.pthread=${BUILDLINK_PREFIX.pthread:Q}
MAKE_ENV+= BUILDLINK_PREFIX.mysql-client=${BUILDLINK_PREFIX.mysql-client:Q}
MAKE_ENV+= BUILDLINK_PREFIX.expat=${BUILDLINK_PREFIX.expat:Q}
MAKE_ENV+= EGDIR=${EGDIR}
.include "../../mk/mysql.buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"