summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-17 02:37:15 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-17 02:37:15 +0000
commit1e60866cc19e399726a715fe8f90de75614755d9 (patch)
tree919603a1bf324ecbe31827d6a9441e11e58f98a0 /converters
parentUse the distfiles now on ftp.freebsd.org instead of from my home directory (diff)
Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX.
Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many miscellaneous modifications. I used more excessive hacks to force p5-Jcode and p5-WWW-Search to respect CC/CFLAGS. Patches largely done by: Christian Weisgerber <naddy@mips.inka.de>
Notes
Notes: svn path=/head/; revision=29658
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-Convert-Recode/Makefile5
-rw-r--r--converters/p5-Convert-UU/Makefile11
2 files changed, 7 insertions, 9 deletions
diff --git a/converters/p5-Convert-Recode/Makefile b/converters/p5-Convert-Recode/Makefile
index 95d097123e2a..042799b1a3fe 100644
--- a/converters/p5-Convert-Recode/Makefile
+++ b/converters/p5-Convert-Recode/Makefile
@@ -19,14 +19,13 @@ RUN_DEPENDS= recode:${PORTSDIR}/converters/recode
USE_PERL5= YES
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-
MAN3= Convert::Recode.3
post-patch:
- ${PERL} -pi -e 's#recode -\$$#${PREFIX}/bin/recode -\$$#' \
+ ${PERL} -pi -e 's#recode -\$$#${LOCALBASE}/bin/recode -\$$#' \
${WRKSRC}/Recode.pm
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX}
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include <bsd.port.mk>
diff --git a/converters/p5-Convert-UU/Makefile b/converters/p5-Convert-UU/Makefile
index acb2e0c7e168..2e3171d6f751 100644
--- a/converters/p5-Convert-UU/Makefile
+++ b/converters/p5-Convert-UU/Makefile
@@ -5,24 +5,23 @@
# $FreeBSD$
#
-PORTNAME= p5-Convert-UU
+PORTNAME= Convert-UU
PORTVERSION= 0.40
CATEGORIES= converters perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Convert
-DISTNAME= Convert-UU-${PORTVERSION}
+PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
USE_PERL5= YES
-.include <bsd.port.pre.mk>
-
MAN1= puuencode.1 puudecode.1
MAN3= Convert::UU.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX}
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ PREFIX=${PREFIX}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>