diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-24 14:15:06 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-24 14:15:06 +0000 |
commit | ea12dedd8a3d238b59c3a179b8eb1f5cea665b6d (patch) | |
tree | ff84547a213a86aa288d1e1c7ed5987448ffdaa5 /mail | |
parent | 0cb6d7175119e2fd4e19fc6ec5f7d318d6506f85 (diff) |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/fdm/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile index 551086ee3973..fb4a9e360e25 100644 --- a/mail/fdm/Makefile +++ b/mail/fdm/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: fdm -# Date created: 25 August 2006 -# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> -# +# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> # $FreeBSD$ -# PORTNAME= fdm PORTVERSION= 1.6 @@ -25,17 +21,20 @@ MAKE_ARGS= -DPCRE -DDB MAN1= fdm.1 MAN5= fdm.conf.5 +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15] @${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\ + s|-I-||g;\ s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE} post-install: -.ifndef NOPORTEXAMPLES +.if ${PORT_OPTIONS:MEXAMPLES} @${INSTALL} -d ${EXAMPLESDIR}/ @${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/ .endif -.ifndef NOPORTDOCS +.if ${PORT_OPTIONS:MDOCS} @${INSTALL} -d ${DOCSDIR}/ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/ .endif |