mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
168f57451a
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category M. CR: D306 Approved by: portmgr (bapt)
35 lines
855 B
Makefile
35 lines
855 B
Makefile
# Created by: Adam McDougall <mcdouga9@egr.msu.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vacation
|
|
PORTVERSION= 3.3.0
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN}
|
|
MASTER_SITE_SUBDIR= pool/main/v/vacation/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= mcdouga9@egr.msu.edu
|
|
COMMENT= Email autoresponder, similar to vacation from sendmail
|
|
|
|
USE_BDB= yes
|
|
|
|
CFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/vacation man/man1/vacation.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
|
|
${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS+=|g' \
|
|
${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|-O2||g' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vacation ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/vacation.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|