svn commit: r318972 - head/mail/fdm
Baptiste Daroussin
bapt at FreeBSD.org
Fri May 24 14:15:06 UTC 2013
Author: bapt
Date: Fri May 24 14:15:06 2013
New Revision: 318972
URL: http://svnweb.freebsd.org/changeset/ports/318972
Log:
Remove the useless and deprecated usage of -I-
This fixes build on current
While here:
- Trim headers
- Convert options
Modified:
head/mail/fdm/Makefile
Modified: head/mail/fdm/Makefile
==============================================================================
--- head/mail/fdm/Makefile Fri May 24 14:02:52 2013 (r318971)
+++ head/mail/fdm/Makefile Fri May 24 14:15:06 2013 (r318972)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: fdm
-# Date created: 25 August 2006
-# Whom: Andrew Pantyukhin <infofarmer at FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer at 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
More information about the svn-ports-all
mailing list