60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
36 lines
839 B
Makefile
36 lines
839 B
Makefile
# Created by: Adam McDougall <mcdouga9@egr.msu.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vacation
|
|
PORTVERSION= 3.3.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= DEBIAN
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}-0.4
|
|
|
|
MAINTAINER= mcdouga9@egr.msu.edu
|
|
COMMENT= Email autoresponder, similar to vacation from sendmail
|
|
|
|
PORTSCOUT= ignore:1
|
|
|
|
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>
|