Index: head/www/nspluginwrapper-devel/Makefile =================================================================== --- head/www/nspluginwrapper-devel/Makefile (revision 248620) +++ head/www/nspluginwrapper-devel/Makefile (revision 248621) @@ -1,77 +1,78 @@ # New ports collection makefile for: nspluginwrapper # Date created: 30 March 2007 # Whom: Dave Grochowski # # $FreeBSD$ # PORTNAME= nspluginwrapper PORTVERSION= 1.3.0 CATEGORIES= www linux emulators MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/:hostsrc \ + LOCAL/jkim:hostsrc \ LOCAL/jkim:targetbin DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:hostsrc \ ${RPMFILE}:targetbin EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= jkim@FreeBSD.org COMMENT= A compatibility plugin for Mozilla NPAPI (development version) EXTRACT_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm LIB_DEPENDS= curl.5:${PORTSDIR}/ftp/curl LATEST_LINK= ${PORTNAME}-devel CONFLICTS= nspluginwrapper-1.2.* RPMFILE= ${PORTNAME}-i386-${PORTVERSION}-1.x86_64.rpm ONLY_FOR_ARCHS= i386 amd64 USE_BZIP2= yes USE_LINUX= yes USE_LINUX_APPS= gtk2 USE_XORG= x11 xext xt USE_GNOME= glib20 gtk20 pkgconfig CFLAGS+= -std=c99 USE_LDCONFIG= yes USE_GMAKE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --enable-generic --prefix=${PREFIX} --target-os=linux \ --target-cpu=i386 --with-x11-prefix=${LOCALBASE} \ --with-cc=${CC} --with-cxx=${CXX} LIBDIR= ${PREFIX}/lib/${PORTNAME} PLIST_SUB= LIBDIR="${LIBDIR:C/^${PREFIX}\///}" HOST_ARCH="${HOST_ARCH}" .include .if ${ARCH} == "amd64" HOST_ARCH= x86_64 .else HOST_ARCH= ${ARCH} .endif # We must manually extract, modify, and install the Linux version of npviewer. post-extract: cd ${WRKSRC} && rpm2cpio ${DISTDIR}/${RPMFILE} | ${CPIO} -id ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \ ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer @${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.bak post-patch: ${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \ ${WRKSRC}/src/npw-config.c @${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.orig post-install: ${MKDIR} ${LIBDIR}/i386/linux ${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \ ${LIBDIR}/i386/linux/ @${CAT} ${PKGMESSAGE} .include Property changes on: head/www/nspluginwrapper-devel/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.17 \ No newline at end of property +1.18 \ No newline at end of property