aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtkevemon/Makefile
blob: 4e9769ead298c06097478117b6abb22c7a9ef5c8 (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
34
35
# $FreeBSD$

PORTNAME=   gtkevemon
DISTVERSION=    1.8-135
CATEGORIES= games
MASTER_SITES=   https://bitbucket.org/BattleClinic/${PORTNAME}/get/
DISTNAME=   Version%20${DISTVERSION}

MAINTAINER= feld@FreeBSD.org
COMMENT=    A skill monitoring standalone application for EVE Online

LIB_DEPENDS=    gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24

FETCH_ARGS= -pRr
CHANGESET=  8fa5c0b5f16b
WRKSRC=     ${WRKDIR}/BattleClinic-${PORTNAME}-${CHANGESET}/${PORTNAME}

USES=       pkgconfig:both
USE_GNOME=  gtk20 libxml2
USE_GMAKE=  yes
USE_OPENSSL=    yes

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|$$(shell pkg-config --libs openssl)|-L${OPENSSLLIB} -lssl -lcrypto|' ${WRKSRC}/src/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/gtkevemon ${PREFIX}/bin/gtkevemon
    ${MKDIR} ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/icon/gtkevemon.desktop ${PREFIX}/share/applications/gtkevemon.desktop
    ${MKDIR} ${PREFIX}/share/pixmaps
    ${INSTALL_DATA} ${WRKSRC}/icon/gtkevemon.png ${PREFIX}/share/pixmaps/gtkevemon.png

.include <bsd.port.post.mk>