pkgsrc/devel/gflib/Makefile
jlam 4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00

27 lines
633 B
Makefile

# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= gflib
PKGNAME= gflib-20030604
CATEGORIES= devel
MASTER_SITES= http://www.cs.utk.edu/~plank/plank/gflib/
EXTRACT_SUFX= .tar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.utk.edu/~plank/plank/gdlib/
COMMENT= Reed Solomon and Galois Field error correction library
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FILE= makefile
BUILD_TARGET= w16
do-install:
for f in gf_div gf_mult parity_test rs_decode_file \
rs_encode_file xor; do \
${INSTALL_PROGRAM} ${WRKSRC}/$$f \
${DESTDIR}${PREFIX}/bin/$$f; \
done
.include "../../mk/bsd.pkg.mk"