34c0009390
- Bump PKGNAME
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2005/02/25 22:53:16 alek Exp $
|
|
|
|
COMMENT= "modular log analyzer"
|
|
|
|
DISTNAME= modlogan-0.8.13
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= sysutils www
|
|
|
|
HOMEPAGE= http://jan.kneschke.de/projects/modlogan/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/
|
|
|
|
MAINTAINER= Michael Coulter <mjc@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c jpeg m png ttf z
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= expat.3::textproc/expat \
|
|
gd.18::graphics/gd \
|
|
pcre::devel/pcre \
|
|
adns.1::net/adns \
|
|
bz2.10::archivers/bzip2
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/modlogan
|
|
CONFIGURE_ENV += LOCALBASE="${LOCALBASE}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
MAKE_FLAGS= INTLLIBS="-L${LOCALBASE}/lib -lintl -liconv"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
EXAMPLES= doc/*.conf doc/*-dist
|
|
DOCS= doc/*.txt
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/modlogan
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/modlogan
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} \
|
|
${PREFIX}/share/examples/modlogan
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} \
|
|
${PREFIX}/share/doc/modlogan
|
|
|
|
.include <bsd.port.mk>
|