openbsd-ports/sysutils/dwdiff/Makefile
jasper 9c2f3c1fd1 update dwdiff to 1.2.1 and install German language catalog
This release fixes a bug in resetting the color on 64 bit platforms

ok steven
2006-10-28 17:44:09 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2006/10/28 17:44:09 jasper Exp $
COMMENT= "word-based diff program"
DISTNAME= dwdiff-1.2.1
CATEGORIES= sysutils textproc
HOMEPAGE= http://os.ghalkes.nl/dwdiff.html
# OSL 2.0
# http://os.ghalkes.nl/licenses/osl-2.0.txt
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= http://os.ghalkes.nl/dist/
EXTRACT_SUFX= .tgz
CONFIGURE_STYLE= simple
MODULES= devel/gettext
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_REGRESS= Yes
LANGS= de nl
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
.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
.include <bsd.port.mk>