aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 17:47:02 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 17:47:02 +0800
commit915cd1a71e84e898e8d7fd9c48b7917739d427d8 (patch)
treedf400a7e1ad9fe6ba005175d8dbde417704377e3 /mail
parent9f21436cbd46c1a58f47a4b3bc0f75259b2ef882 (diff)
downloadfreebsd-ports-gnome-915cd1a71e84e898e8d7fd9c48b7917739d427d8.tar.gz
freebsd-ports-gnome-915cd1a71e84e898e8d7fd9c48b7917739d427d8.tar.zst
freebsd-ports-gnome-915cd1a71e84e898e8d7fd9c48b7917739d427d8.zip
Support staging
Diffstat (limited to 'mail')
-rw-r--r--mail/vacation/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/vacation/Makefile b/mail/vacation/Makefile
index 4cb66c702bfc..745f3c232017 100644
--- a/mail/vacation/Makefile
+++ b/mail/vacation/Makefile
@@ -12,15 +12,13 @@ MAINTAINER= mcdouga9@egr.msu.edu
COMMENT= A email autoresponder, similar to vacation from sendmail
USE_BDB= yes
-CFLAGS+= -L${LOCALBASE}/lib
-MAN1= vacation.1
+CFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-PLIST_FILES= bin/vacation
+PLIST_FILES= bin/vacation man/man1/vacation.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
${WRKSRC}/Makefile
@@ -30,7 +28,7 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vacation ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/vacation.1 ${PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vacation ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/vacation.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>