aboutsummaryrefslogtreecommitdiff
path: root/games/hllib/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-10-22 20:39:45 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-10-22 20:39:45 +0000
commitc5e65a3c7f54287caa26066bb1dab90c9805b18e (patch)
treec2153f5e6623a30e7e7a32c204930c3962c0d10f /games/hllib/Makefile
parentd5b8cef6a5981c00e1a04f9be8ec74ba50b47e5d (diff)
Notes
Diffstat (limited to 'games/hllib/Makefile')
-rw-r--r--games/hllib/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/hllib/Makefile b/games/hllib/Makefile
new file mode 100644
index 000000000000..c79d93bd9cdb
--- /dev/null
+++ b/games/hllib/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: HLLib
+# Date created: 22 Oct 2007
+# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hllib
+PORTVERSION= 2.0.6
+CATEGORIES= games devel
+MASTER_SITES= http://nemesis.thewavelength.net/files/files/ \
+ http://freebsd.nsu.ru/distfiles/
+DISTNAME= ${PORTNAME}208
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Library to work with various Half-Life file formats
+
+USE_ZIP= yes
+USE_DOS2UNIX= Makefile
+USE_LDCONFIG= yes
+WRKSRC= ${WRKDIR}/HLLib
+
+PLIST_FILES= include/hl.h lib/libhl.so.${PORTVERSION} \
+ lib/libhl.so.2 lib/libhl.so
+
+post-extract:
+# Allow propagating of CXX, CXXFLAGS, and PREFIX; fix Linuxism and symlinks
+ @${REINPLACE_CMD} -E 's,^([CP][^=]*)=,\1?=, ; s,g root,g wheel, ; \
+ s,s \$$\(PREFIX\)/lib/,s ,' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>