diff options
author | will <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
commit | 6dd7168cddcf03645b7b524d0eaec762ba4a5c26 (patch) | |
tree | dde5ee054b255f449dc09b875bfef1cb678c4d3e /converters | |
parent | 09860925596143f36628cd7f462f54e90412d7ae (diff) | |
download | FreeBSD-ports-6dd7168cddcf03645b7b524d0eaec762ba4a5c26.zip FreeBSD-ports-6dd7168cddcf03645b7b524d0eaec762ba4a5c26.tar.gz |
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>
Diffstat (limited to 'converters')
-rw-r--r-- | converters/p5-Convert-Recode/Makefile | 5 | ||||
-rw-r--r-- | converters/p5-Convert-UU/Makefile | 11 |
2 files changed, 7 insertions, 9 deletions
diff --git a/converters/p5-Convert-Recode/Makefile b/converters/p5-Convert-Recode/Makefile index 95d0971..042799b 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 acb2e0c..2e3171d 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> |