freebsd-ports/graphics/boxer/Makefile
Ruslan Makhmatkhanov 243b65b3a0 - update to 0.3.8
- safe the distifile into the box/ subdir
- pass maintainership to submitter
- add DESKTOP_ENTRIES

while here:
- trim Makefile header
- remove redundant LICENSE_FILE
- limit python version to 2.x only
- tab -> space change in pkg-descr:WWW

PR:		173209
Submitted by:	nemysis <nemysis at gmx dot ch>
Feature safe:	yes
2012-11-01 06:52:53 +00:00

39 lines
1.1 KiB
Makefile

# Created by: Charlie Kester <corky1951@comcast.net>
# $FreeBSD$
PORTNAME= boxer
PORTVERSION= 0.3.8
CATEGORIES= graphics
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= nemysis@gmx.ch
COMMENT= GUI for Box the figure description language
LICENSE= GPLv3 # (or later)
RUN_DEPENDS= box:${PORTSDIR}/graphics/box
EXTRACT_DEPENDS=pngtopnm:${PORTSDIR}/graphics/netpbm
USE_GNOME= pygtk2
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>