aboutsummaryrefslogtreecommitdiff
path: root/x11/swarp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/swarp/Makefile')
-rw-r--r--x11/swarp/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/swarp/Makefile b/x11/swarp/Makefile
index 81fae8530c46..19bedc16170c 100644
--- a/x11/swarp/Makefile
+++ b/x11/swarp/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: swarp
-# Date created: 2008-01-15
-# Whom: Daniel Roethlisberger <daniel@roe.ch>
-#
+# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$
-#
PORTNAME= swarp
PORTVERSION= 0.1
@@ -26,11 +22,13 @@ MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lX11" \
PORTDOCS= README
PLIST_FILES= bin/swarp
+.include <bsd.port.options.mk>
+
post-patch:
@${ECHO_CMD} -n > ${WRKSRC}/config.mk
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif