summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorseb <seb>2002-10-28 00:22:03 +0000
committerseb <seb>2002-10-28 00:22:03 +0000
commit61960ed8169fc56f0ef8ce8e44c22d95be3a7f8b (patch)
tree0324a0ec2320d497717a1cd7a689c5cbfb258be9 /textproc
parent71030468e48412661bc75e442fd88fda0fdb4abc (diff)
downloadpkgsrc-61960ed8169fc56f0ef8ce8e44c22d95be3a7f8b.tar.gz
Use buildlink2. Use perl5/module.mk: remove post-{build,install} targets
by way of PERL5_CONFIGURE_DIRS and BUILD_DIRS. XXX libeperl.a in ALL_TARGET does seem to be needed so drop ALL_TARGET override.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/eperl/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/textproc/eperl/Makefile b/textproc/eperl/Makefile
index dd7cd98bd73..c27914614ad 100644
--- a/textproc/eperl/Makefile
+++ b/textproc/eperl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/07/22 22:00:53 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2002/10/28 00:22:03 seb Exp $
DISTNAME= eperl-2.2.14
CATEGORIES= lang perl5 textproc
@@ -10,20 +10,18 @@ COMMENT= Interpreter/preprocessor for Perl embedded in text documents
DEPENDS= {libperl>=${LIBPERL5_REQD},perl>=5.8.0}:../../lang/libperl
-USE_PERL5= # defined
+USE_BUILDLINK2= YES
LIBPERL5_REQD= ${PERL5_REQD}
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Parse/ePerl/.packlist
GNU_CONFIGURE= # defined
-ALL_TARGET= all libeperl.a
+PERL5_CONFIGURE= NO
+PERL5_CONFIGURE_DIRS= ${WRKSRC}/mod/Parse
+BUILD_DIRS= ${WRKSRC} ${WRKSRC}/mod/Parse
AUTOMAKE_PATTERNS+= config_ac.h.in
-post-build:
- cd ${WRKSRC}/mod/Parse; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
- cd ${WRKSRC}/mod/Parse; ${MAKE_PROGRAM}
-
-post-install:
- cd ${WRKSRC}/mod/Parse; ${MAKE_PROGRAM} install
+post-configure: perl5-configure
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"