aboutsummaryrefslogtreecommitdiff
path: root/graphics/smillaenlarger/Makefile
blob: 791aef96ef9df4041b030572670b7f8be1835f31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	smillaenlarger
DISTVERSION=	0.9.0
CATEGORIES=	graphics
MASTER_SITES=	SF/imageenlarger/imageenlarger/SmillaEnlarger%20Release%20${PORTVERSION}/
DISTNAME=	SmillaEnlarger_${PORTVERSION}_source

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Qt-based tool for high-quality image magnification/resizing

LICENSE=	GPLv3

USES=		qmake zip
USE_QT4=	qmake_build moc_build rcc_build uic_build gui

WRKSRC=		${WRKDIR}/${DISTNAME}/SmillaEnlargerSrc

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	ReadMe.rtf WhatsNew.rtf changelog.txt

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/SmillaEnlarger \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>