aboutsummaryrefslogtreecommitdiffstats
path: root/devel/love5
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-06-18 19:46:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-06-18 19:46:51 +0800
commitdf95a2d560d09c86d1a500fe7c6e846a721ff3bf (patch)
treee391a5b5894d27043bb95bd6680b03174979f810 /devel/love5
parent3de9e5720382e61bea8dbab6e1287a0b29e64dc0 (diff)
downloadfreebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.gz
freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.zst
freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.zip
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS - OptionsNG - Pet portlint - Switch to dynamic plist where useful
Diffstat (limited to 'devel/love5')
-rw-r--r--devel/love5/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/love5/Makefile b/devel/love5/Makefile
index 9906c853ce33..156f42e8d23c 100644
--- a/devel/love5/Makefile
+++ b/devel/love5/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: love
-# Date created: 01 Aug 2008
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= love
DISTVERSION= 0.5-0
@@ -37,13 +33,15 @@ PLIST_FILES= bin/love5
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}5
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|ILvoid|void|' ${WRKSRC}/src/opengl/Image.cpp \
${WRKSRC}/src/opengl/love_opengl.cpp
@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \
${WRKSRC}/configure
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in changes.txt readme.txt