aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/converseen/Makefile
blob: 185cecac35baa01c26322b9e6db117adceb976e2 (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
# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
# $FreeBSD$

PORTNAME=   converseen
PORTVERSION=    0.9.1
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}/Converseen/Converseen%200.9/

MAINTAINER= fernando.apesteguia@gmail.com
COMMENT=    Easy to use graphics conversion utility

LICENSE=    GPLv3

LIB_DEPENDS=    libMagick++-6.so:${PORTSDIR}/graphics/ImageMagick

USES=       cmake gettext iconv tar:bzip2
USE_QT4=    corelib gui linguist_build moc_build qmake_build \
        rcc_build uic_build

post-patch:
    @${REINPLACE_CMD} -e '/^ appdata.path =/s|/usr/share|$$$${SHARE_DIR}|' \
        ${WRKSRC}/converseen.pro
    @${REINPLACE_CMD} -e '/^install(FILES converseen.appdata.xml/s|/usr|$${CMAKE_INSTALL_PREFIX}|' \
        ${WRKSRC}/CMakeLists.txt

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/converseen

.include <bsd.port.mk>