aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2012-07-04 01:41:29 +0800
committerak <ak@FreeBSD.org>2012-07-04 01:41:29 +0800
commitb4d784cec20d5bbd8940cea3d406bd56db3d5718 (patch)
tree0d39f1598071b97c40529616e481cf38ac0c1434
parent57b1ceee96f3d92360e5b4ad62c0acbfe7c4e00e (diff)
downloadfreebsd-ports-gnome-b4d784cec20d5bbd8940cea3d406bd56db3d5718.tar.gz
freebsd-ports-gnome-b4d784cec20d5bbd8940cea3d406bd56db3d5718.tar.zst
freebsd-ports-gnome-b4d784cec20d5bbd8940cea3d406bd56db3d5718.zip
- Remove unneeded wrapper from ${PREFIX}/bin
PR: ports/169489 Submitted by: Adrian Holota <holotaa@iem.pw.edu.pl> Approved by: Olivier Cochard-Labbe <olivier@cochard.me> (maintainer)
-rw-r--r--emulators/gns3/Makefile12
-rw-r--r--emulators/gns3/pkg-plist1
2 files changed, 6 insertions, 7 deletions
diff --git a/emulators/gns3/Makefile b/emulators/gns3/Makefile
index c72187e2a270..cb2e671b71c5 100644
--- a/emulators/gns3/Makefile
+++ b/emulators/gns3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gns3
PORTVERSION= 0.8.2
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF/gns-3/GNS3/${PORTVERSION}
DISTNAME= GNS3-${PORTVERSION}-src
@@ -28,21 +29,20 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4
USE_PYTHON= 2.6+
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= GNS3
-MAN1= ${PORTNAME}.1
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT= MANPAGES
.include <bsd.port.options.mk>
-.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MMANPAGES}
+MAN1= ${PORTNAME}.1
+.endif
post-install:
.if ${PORT_OPTIONS:MMANPAGES}
- ${INSTALL_MAN} ${WRKSRC}/docs/man/${MAN1} ${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/docs/man/${MAN1} ${MAN1PREFIX}/man/man1
.endif
- ${INSTALL_SCRIPT} ${WRKSRC}/qemuwrapper/qemuwrapper.py \
- ${PREFIX}/bin/qemuwrapper.py
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/gns3/pkg-plist b/emulators/gns3/pkg-plist
index d3cedcaf058b..1aae29415400 100644
--- a/emulators/gns3/pkg-plist
+++ b/emulators/gns3/pkg-plist
@@ -1,5 +1,4 @@
bin/gns3
-bin/qemuwrapper.py
libexec/gns3/qemuwrapper.py
libexec/gns3/vboxcontroller_4_1.py
libexec/gns3/vboxwrapper.py