diff options
author | rh <rh> | 2007-06-19 01:40:13 +0000 |
---|---|---|
committer | rh <rh> | 2007-06-19 01:40:13 +0000 |
commit | 8c41e9cd55dfb59a05cb87b454449defe6783743 (patch) | |
tree | 2af7f60ddc86e5b601788863fc3c8723953bddd9 /net/libupnp/Makefile | |
parent | 34b86fc9a977597e5924227618f030b04bd3f2c0 (diff) | |
download | pkgsrc-8c41e9cd55dfb59a05cb87b454449defe6783743.tar.gz |
Update libupnp to 1.6.0 (currently a leaf package). Changes are mainly
bugfixes, including a couple of serious bugs that prevented the library
from working on NetBSD and Darwin (for anything other than trivial tests).
Add a buildlink3.mk while at it.
Diffstat (limited to 'net/libupnp/Makefile')
-rw-r--r-- | net/libupnp/Makefile | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/net/libupnp/Makefile b/net/libupnp/Makefile index 8d091175593..1bf30424e03 100644 --- a/net/libupnp/Makefile +++ b/net/libupnp/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2007/06/07 08:08:16 rh Exp $ +# $NetBSD: Makefile,v 1.5 2007/06/19 01:40:13 rh Exp $ # -DISTNAME= libupnp-1.4.6 +DISTNAME= libupnp-1.6.0-rc1 +PKGNAME= ${DISTNAME:S/-rc1/rc1/} CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pupnp/} EXTRACT_SUFX= .tar.bz2 @@ -10,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://pupnp.sourceforge.net/ COMMENT= Portable Universal Plug and Play (UPnP) SDK +WRKSRC= ${WRKDIR}/${DISTNAME:S/-rc1//} USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config USE_PKGLOCALEDIR= yes @@ -18,20 +20,8 @@ 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 - post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME_NOREV} .for doc in IXML_Programming_Guide UPnP_Programming_Guide ${INSTALL_DATA} ${WRKSRC}/docs/dist/${doc}.pdf \ ${PREFIX}/share/doc/${PKGNAME_NOREV} |