freebsd-ports/graphics/nathive/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= nathive
2013-09-12 03:26:34 +02:00
PORTVERSION= 0.924
CATEGORIES= graphics
2013-09-12 03:26:34 +02:00
MASTER_SITES= http://www.nathive.org/dl/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lightweight image editor
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
2014-09-29 20:32:11 +02:00
USES= gmake python:2 tar:tgz
USE_GNOME= pygtk2
2013-09-12 03:26:34 +02:00
MAKEFILE= makefile
2009-01-21 14:51:48 +01:00
ALL_TARGET= default
2013-09-12 03:26:34 +02:00
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
share/applications/nathive.desktop
2014-05-11 18:21:37 +02:00
PORTDATA= *
2013-09-12 03:26:34 +02:00
PORTDOCS= *
PLIST_DIRS= %%DATADIR%%/cfg/presets/select \
%%DATADIR%%/cfg/presets/picker \
%%DATADIR%%/cfg/presets/eraser \
%%DATADIR%%/cfg/presets/crop \
%%DATADIR%%/cfg/presets/brush \
%%DATADIR%%/cfg/console
2013-09-12 03:26:34 +02:00
OPTIONS_DEFINE= DOCS
post-patch:
2013-09-12 03:26:34 +02:00
@${REINPLACE_CMD} -e '/BASE =/ s|=.*|= ${PREFIX}/|; \
s|python |${PYTHON_CMD} |' \
${WRKSRC}/${MAKEFILE}
.for util in shdata makeplugs.py indenter.py docgen/docfile.py cybuild.py extbuild.py
@${REINPLACE_CMD} -e 's|python |${PYTHON_CMD} |' \
${WRKSRC}/utils/${util}
.endfor
2013-09-12 03:26:34 +02:00
@${REINPLACE_CMD} -e 's|/usr/share/nathive|${DATADIR}|' \
${WRKSRC}/${PORTNAME}.desktop
2014-05-11 18:21:37 +02:00
post-build:
${STRIP_CMD} ${WRKSRC}/nathive/libc/*.so
.include <bsd.port.mk>