diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-24 22:15:06 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-24 22:15:06 +0800 |
commit | bbbb3f459b2c7a52c723bec655f4e00b15b11a03 (patch) | |
tree | ff84547a213a86aa288d1e1c7ed5987448ffdaa5 /mail/fdm | |
parent | 72cbbcc3e030ac574d9c503e654b1dd9121d47f8 (diff) | |
download | freebsd-ports-gnome-bbbb3f459b2c7a52c723bec655f4e00b15b11a03.tar.gz freebsd-ports-gnome-bbbb3f459b2c7a52c723bec655f4e00b15b11a03.tar.zst freebsd-ports-gnome-bbbb3f459b2c7a52c723bec655f4e00b15b11a03.zip |
Remove the useless and deprecated usage of -I-
This fixes build on current
While here:
- Trim headers
- Convert options
Diffstat (limited to 'mail/fdm')
-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 |