openbsd-ports/net/ircd-hybrid/Makefile
sthen d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00

38 lines
824 B
Makefile

# $OpenBSD: Makefile,v 1.10 2010/07/12 22:07:38 sthen Exp $
SHARED_ONLY = Yes
COMMENT = Internet Relay Chat server
DISTNAME = ircd-hybrid-7.2.3
REVISION = 7
CATEGORIES = net
HOMEPAGE = http://ircd-hybrid.com/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
EXTRACT_SUFX = .tgz
WANTLIB = c crypto ssl z
LIB_DEPENDS = pcre::devel/pcre
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_FLAGS = AUTOMODULEDIR='$${prefix}/lib/ircd-hybrid/modules' \
moduledir='$${prefix}/lib/ircd-hybrid/modules'
NO_REGRESS = Yes
pre-configure:
@${SUBST_CMD} ${WRKSRC}/etc/example.conf ${WRKSRC}/include/defaults.h
.include <bsd.port.mk>