1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Respect ${PREFIX} [1]

- Cleanup: s,${WRKDIR}/${DISTNAME},${WRKSRC},

[1]:
PR:		ports/88114
Submitted by:	maintainer
This commit is contained in:
Jean-Yves Lefort 2005-10-28 07:00:21 +00:00
parent 635bb209f8
commit 00676749e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146544
2 changed files with 16 additions and 14 deletions

View File

@ -19,15 +19,11 @@ MAN1= biffopt.1
MAN8= biffer.8 biffer_comsat.8
do-install:
${INSTALL_PROGRAM} \
${WRKDIR}/${DISTNAME}/biffer/biffer ${PREFIX}/libexec
${INSTALL_PROGRAM} \
${WRKDIR}/${DISTNAME}/biffopt/biffopt ${PREFIX}/bin
${INSTALL_MAN} \
${WRKDIR}/${DISTNAME}/biffopt/biffopt.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} \
${WRKDIR}/${DISTNAME}/biffer/biffer.8 ${MAN8PREFIX}/man/man8
cd ${WRKDIR}/${DISTNAME}/biffer_comsat && ${MAKE} ${MFLAGS} install
${INSTALL_PROGRAM} ${WRKSRC}/biffer/biffer ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/biffopt/biffopt ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/biffopt/biffopt.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/biffer/biffer.8 ${MAN8PREFIX}/man/man8
cd ${WRKSRC}/biffer_comsat && ${MAKE} ${MFLAGS} install
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} \

View File

@ -1,8 +1,14 @@
--- biffer_comsat/Makefile.orig Wed Oct 22 17:11:51 2003
+++ biffer_comsat/Makefile Wed Oct 22 17:12:01 2003
@@ -11,6 +11,8 @@
BINDIR= /usr/local/libexec
MANDIR= /usr/local/man/man
--- biffer_comsat/Makefile.orig Thu Oct 27 23:23:21 2005
+++ biffer_comsat/Makefile Thu Oct 27 23:25:14 2005
@@ -8,9 +8,12 @@
SRCS= comsat.c usebiffer.c
-BINDIR= /usr/local/libexec
-MANDIR= /usr/local/man/man
+PREFIX= /usr/local
+BINDIR= ${PREFIX}/libexec
+MANDIR= ${PREFIX}/man/man
+CC?= cc
+CFLAGS?= -O -pipe