openbsd-ports/textproc/ots/Makefile

34 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2004/12/15 07:59:13 jolan Exp $
COMMENT= "open source tool for summarizing texts"
DISTNAME= ots-0.4.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libots/}
HOMEPAGE= http://libots.sourceforge.net/
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES= converters/libiconv \
devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= glib-2.0.400.8::devel/glib2 \
popt.0.3::devel/popt \
xml2.9.0::textproc/libxml
WANTLIB= c m z
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/ots.1 ${PREFIX}/man/man1
.include <bsd.port.mk>