aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xosview/Makefile
blob: 4798343fb342745a8bfa5f8b0f8ecbbda600c2b0 (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
# Created by: Brian Handy <handy@physics.montana.edu>
# $FreeBSD$

PORTNAME=   xosview
PORTVERSION=    1.19
CATEGORIES= sysutils

MAINTAINER= otacilio.neto@bsd.com.br
COMMENT=    Graphical performance meter

LICENSE=    BSD4CLAUSE GPLv2
LICENSE_COMB=   multi

ONLY_FOR_ARCHS=     amd64 i386
ONLY_FOR_ARCHS_REASON=  uses x86-specific hardware resources

USE_GITHUB= yes
GH_ACCOUNT= hills

USE_XORG=   x11 xpm
USES=       gmake
MAKE_ENV=   OPTFLAGS="" PLATFORM=bsd MANDIR=${MANPREFIX}/man
ALL_TARGET= xosview

DESKTOP_ENTRIES="XOsview" "" "" "xosview" "" ""

do-configure:
    @${SED} -e '/CXX/s|^|#|' -e 's|/usr/local|${LOCALBASE}|' \
        ${WRKSRC}/targets/freebsd > ${WRKSRC}/.config

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    @${CP} ${WRKSRC}/Xdefaults ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XOsview

.include <bsd.port.mk>