Date: Sat, 15 Dec 2001 17:59:36 +0300 From: Sergey Skvortsov <skv@protey.ru> To: portmgr@freebsd.org Cc: ports@freebsd.org Subject: bsd.port.mk patch Message-ID: <3C1B6558.34E8517@protey.ru>
next in thread | raw e-mail | index | archive | help
this patch is intended to: 1. add default MANPREFIX if PERL_CONFIGURE=yes 2. add useful variables to PLIST_SUB --- bsd.port.mk.orig Wed Nov 28 08:00:36 2001 +++ bsd.port.mk Sat Dec 15 17:54:45 2001 @@ -1378,6 +1378,7 @@ CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" CONFIGURE_SCRIPT?= Makefile.PL USE_PERL5= yes +MANPREFIX?= ${PREFIX}/lib/perl5/${PERL_VERSION} .undef HAS_CONFIGURE .endif @@ -1497,6 +1498,11 @@ DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} DATADIR?= ${PREFIX}/share/${PORTNAME} + +PLIST_DIRS= DOCSDIR="${DOCSDIR}" \ + EXAMPLESDIR="${EXAMPLESDIR}" \ + DATADIR="${DATADIR}" +PLIST_SUB+= ${PLIST_DIRS:S,DIR="${LOCALBASE}/,DIR=",} .MAIN: all -- Sergey Skvortsov mailto: skv@protey.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C1B6558.34E8517>