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

PORTNAME=   converseen
PORTVERSION=    0.8.5
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}/Converseen/Converseen%200.8/

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

LICENSE=    GPLv3

LIB_DEPENDS=    libMagick++-6.Q16.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>