Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / pkgtools / p5-pkgsrc-Dewey / Makefile
blobd9892e1fd3afe25a056c4079c3cfb20c8bfc0ccd
1 # $NetBSD: Makefile,v 1.20 2012/09/11 23:19:35 asau Exp $
3 DISTNAME= p5-pkgsrc-Dewey-1.1
4 PKGREVISION= 3
5 CATEGORIES= pkgtools perl5
6 MASTER_SITES= # empty
7 DISTFILES= # empty
9 MAINTAINER= wiz@NetBSD.org
10 HOMEPAGE= http://www.NetBSD.org/docs/pkgsrc/
11 COMMENT= Perl module to compare pkgsrc Dewey numbers
12 LICENSE= ${PERL5_LICENSE} OR 2-clause-bsd
14 PKG_INSTALLATION_TYPES= overwrite pkgviews
16 CPPFLAGS+= -DHAVE_CTYPE_H -DHAVE_STDLIB_H -DHAVE_STRING_H
17 CPPFLAGS.NetBSD+= -DHAVE_ERR_H
19 USE_LANGUAGES= c
21 PERL5_PACKLIST= auto/pkgsrc/Dewey/.packlist
23 PKG_INSTALL_FILESDIR= ${PKGSRCDIR}/pkgtools/pkg_install/files
24 PKG_INSTALL_FILES= lib/dewey.c lib/dewey.h lib/defs.h
26 do-extract:
27 ${MKDIR} ${WRKSRC}
28 ${CP} -r ${FILESDIR}/* ${WRKSRC}
29 for f in ${PKG_INSTALL_FILES}; do \
30 ${CP} ${PKG_INSTALL_FILESDIR}/$$f ${WRKSRC}; \
31 done
32 ${MV} ${WRKSRC}/dewey.c ${WRKSRC}/lib_dewey.c
33 ${TOUCH} ${WRKSRC}/nbcompat.h
35 .include "../../lang/perl5/module.mk"
36 .include "../../mk/bsd.pkg.mk"