freebsd-ports/graphics/nathive/Makefile
Dmitry Marakasov cb056d2f79 Nathive is a libre software image editor, similar to Adobe Photoshop,
Corel Photo-Paint or The GIMP, but focused on usability, logic and
providing a smooth learning curve for everyone. The project run in
the Gnome desktop environment and anyone is welcome to collaborate
on it with code, translations or ideas.

This project is in the alpha phase, so it is an incomplete work,
unfit for the end user yet. The intention is to achieve a professional
graphic editor progressively without giving up initial usability.
Nathive is written from scratch in C using GTK+, and is designed
to be simple, lightweight, and easy to install and use.

WWW: http://www.nathive.org/
2008-11-24 13:40:53 +00:00

36 lines
879 B
Makefile

# New ports collection makefile for: nathive
# Date created: 24 Nov 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nathive
PORTVERSION= 0.811
CATEGORIES= graphics
MASTER_SITES= http://www.nathive.org/packages/ \
http://www.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}_${PORTVERSION}_source
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lightweight image editor
USE_GNOME= pkgconfig glib20 gtk20
NO_WRKSUBDIR= yes
post-patch:
@${REINPLACE_CMD} -e '/define.*PATH/ s|".*"|"${DATADIR}/"|' \
${WRKSRC}/nathive.c
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} `pkg-config --cflags --libs glib-2.0` \
`pkg-config --cflags --libs gtk+-2.0` nathive.c -o nathive
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nathive ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC} && \
${COPYTREE_SHARE} "cfg img lang palettes text" ${DATADIR}
.include <bsd.port.mk>