summaryrefslogtreecommitdiff
path: root/net/libupnp/Makefile
diff options
context:
space:
mode:
authorrh <rh>2006-06-03 23:29:24 +0000
committerrh <rh>2006-06-03 23:29:24 +0000
commit4692fc758610f11f584b8800f576a66cf2ef1b2b (patch)
treeb3d9bb8b8e70f646aa6c904ee83c45c4979be2b7 /net/libupnp/Makefile
parent2ba15211f78451b7cb0c6bfd8abc9d40d8408181 (diff)
downloadpkgsrc-4692fc758610f11f584b8800f576a66cf2ef1b2b.tar.gz
Initial import of libupnp-1.3.1, a universal plug and play (UPnP) SDK.
Diffstat (limited to 'net/libupnp/Makefile')
-rw-r--r--net/libupnp/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/libupnp/Makefile b/net/libupnp/Makefile
new file mode 100644
index 00000000000..074c94e273f
--- /dev/null
+++ b/net/libupnp/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/03 23:29:24 rh Exp $
+#
+
+DISTNAME= libupnp-1.3.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://pupnp.sourceforge.net/
+COMMENT= Portable Universal Plug and Play (UPnP) SDK
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= libupnp.pc.in
+
+pre-configure:
+.if !exists(/usr/include/malloc.h)
+ ${LN} -s /usr/include/stdlib.h ${BUILDLINK_DIR}/include/malloc.h
+.endif
+.if !exists(/usr/include/sys/sysinfo.h)
+ ${MKDIR} -p ${BUILDLINK_DIR}/include/sys
+ ${TOUCH} ${BUILDLINK_DIR}/include/sys/sysinfo.h
+.endif
+.if !exists(/usr/include/linux/if.h)
+ ${MKDIR} -p ${BUILDLINK_DIR}/include/linux
+ ${LN} -s /usr/include/net/if.h ${BUILDLINK_DIR}/include/linux/if.h
+.endif
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"