2011-03-19 05:56:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2011/03/19 09:56:28 benoit Exp $
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2009-05-27 09:43:09 -04:00
|
|
|
COMMENT = word-based diff program
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2011-03-19 05:56:28 -04:00
|
|
|
DISTNAME = dwdiff-1.9
|
2009-05-27 09:43:09 -04:00
|
|
|
CATEGORIES = sysutils textproc
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2009-05-27 09:43:09 -04:00
|
|
|
HOMEPAGE = http://os.ghalkes.nl/dwdiff.html
|
|
|
|
|
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2007-12-21 02:45:11 -05:00
|
|
|
# GPLv3
|
2009-05-27 09:43:09 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2010-07-23 16:59:09 -04:00
|
|
|
WANTLIB = c icudata icui18n icuuc m pthread
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2009-05-27 09:43:09 -04:00
|
|
|
MASTER_SITES = http://os.ghalkes.nl/dist/
|
|
|
|
EXTRACT_SUFX = .tgz
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2009-05-27 09:43:09 -04:00
|
|
|
MODULES = devel/gettext
|
2006-10-20 10:05:43 -04:00
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS = textproc/icu4c
|
2008-07-07 03:32:48 -04:00
|
|
|
|
2009-05-27 09:43:09 -04:00
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_ENV = CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
|
2006-10-20 10:05:43 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
USE_GROFF = Yes
|
2009-05-27 09:43:09 -04:00
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
2011-03-19 05:56:28 -04:00
|
|
|
LANGS = de nl fr ru
|
2006-10-28 13:44:09 -04:00
|
|
|
|
2006-10-20 10:05:43 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dwdiff ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/dwdiff.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dwdiff
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dwdiff
|
2006-10-28 13:44:09 -04:00
|
|
|
.for l in ${LANGS}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/${l}/LC_MESSAGES
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/${l}.mo \
|
|
|
|
${PREFIX}/share/locale/${l}/LC_MESSAGES
|
|
|
|
.endfor
|
2006-10-20 10:05:43 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|