diff options
-rw-r--r-- | pkgtools/p5-pkgsrc-Dewey/Makefile | 8 | ||||
-rw-r--r-- | pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/p5-pkgsrc-Dewey/Makefile b/pkgtools/p5-pkgsrc-Dewey/Makefile index 81a232d553b..7ac30037590 100644 --- a/pkgtools/p5-pkgsrc-Dewey/Makefile +++ b/pkgtools/p5-pkgsrc-Dewey/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2006/03/02 10:53:39 tron Exp $ +# $NetBSD: Makefile,v 1.3 2006/03/02 11:10:28 tron Exp $ DISTNAME= p5-pkgsrc-Dewey-1.0 +PKGREVISION= 1 CATEGORIES= pkgtools perl5 MASTER_SITES= # empty DISTFILES= # empty @@ -21,11 +22,12 @@ PKG_INSTALL_FILESDIR= ../../pkgtools/pkg_install/files PKG_INSTALL_FILES= lib/dewey.c lib/dewey.h lib/defs.h do-extract: - ${MKDIR} ${WRKSRC}/lib + ${MKDIR} ${WRKSRC} ${CP} -r ${FILESDIR}/* ${WRKSRC} for f in ${PKG_INSTALL_FILES}; do \ - ${CP} ${PKG_INSTALL_FILESDIR}/$$f ${WRKSRC}/lib; \ + ${CP} ${PKG_INSTALL_FILESDIR}/$$f ${WRKSRC}; \ done + ${MV} ${WRKSRC}/dewey.c ${WRKSRC}/lib_dewey.c ${TOUCH} ${WRKSRC}/nbcompat.h .include "../../lang/perl5/module.mk" diff --git a/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs b/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs index daaea89ca8b..9c696ab5794 100644 --- a/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs +++ b/pkgtools/p5-pkgsrc-Dewey/files/Dewey.xs @@ -2,7 +2,7 @@ #include "perl.h" #include "XSUB.h" -#include <lib/dewey.h> +#include <dewey.h> MODULE = pkgsrc::Dewey PACKAGE = pkgsrc::Dewey |