aboutsummaryrefslogtreecommitdiff
path: root/graphics/boxer/Makefile
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-11-01 06:52:53 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-11-01 06:52:53 +0000
commit243b65b3a08659639bb60e2b978f2d5c3082ddb7 (patch)
tree989a002a60d4bee48bf0f61ef7d273ac4a49083e /graphics/boxer/Makefile
parentde532f4c7edf025bb2b75328e5c84e8fb303d3e2 (diff)
downloadports-243b65b3a08659639bb60e2b978f2d5c3082ddb7.tar.gz
ports-243b65b3a08659639bb60e2b978f2d5c3082ddb7.zip
Notes
Diffstat (limited to 'graphics/boxer/Makefile')
-rw-r--r--graphics/boxer/Makefile33
1 files changed, 22 insertions, 11 deletions
diff --git a/graphics/boxer/Makefile b/graphics/boxer/Makefile
index d33948c08acf..238573db1e8a 100644
--- a/graphics/boxer/Makefile
+++ b/graphics/boxer/Makefile
@@ -1,28 +1,39 @@
-# Ports collection makefile for: boxer
-# Date created: 2010-11-20
-# Whom: Charlie Kester <corky1951@comcast.net>
-#
+# Created by: Charlie Kester <corky1951@comcast.net>
# $FreeBSD$
-#
PORTNAME= boxer
-PORTVERSION= 0.3.7
-PORTREVISION= 1
+PORTVERSION= 0.3.8
CATEGORIES= graphics
-MASTER_SITES= SF/boxc/${PORTNAME:C/^b/B/}%20-%20the%20Box%20GUI/${DISTNAME}/
+MASTER_SITES= SF/boxc/${PORTNAME:C/^b/B/}%20-%20the%20Box%20GUI/${DISTNAME}/ \
+ http://boxc.sourceforge.net/_images/:icons
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ cycloid.png:icons
+DIST_SUBDIR= box
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= nemysis@gmx.ch
COMMENT= GUI for Box the figure description language
LICENSE= GPLv3 # (or later)
-LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= box:${PORTSDIR}/graphics/box
+EXTRACT_DEPENDS=pngtopnm:${PORTSDIR}/graphics/netpbm
USE_GNOME= pygtk2
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
+DESKTOP_ENTRIES="Boxer" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Application;Graphics;" ${FALSE}
+
+post-extract:
+ @(cd ${WRKSRC} && \
+ ${LOCALBASE}/bin/pngtopnm ${DISTDIR}/${DIST_SUBDIR}/cycloid.png | \
+ ${LOCALBASE}/bin/pamscale .218 | ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
.include <bsd.port.mk>