aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/converseen/Makefile
blob: c8c7e832d4134a975d78f90a76a1c95f891d0598 (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.6.2
PORTREVISION=   3
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}/Converseen/Converseen%20${PORTVERSION:R:R}/

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

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libMagick++-6.so:graphics/ImageMagick

USES=       cmake tar:bzip2 compiler:c++11-lang
USE_QT5=    core network gui linguisttools_build qmake_build \
        buildtools_build widgets
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>