aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bbapm/Makefile
blob: 5a2cdb453821e9a5720f4ac587cde262d4193ccc (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
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    bbapm
# Date created:             3 August 2001
# Whom:             Adam Weinberger <adam@vectors.cx>
#
# $FreeBSD$
#

PORTNAME=   bbapm
PORTVERSION=    0.0.1
PORTREVISION=   5
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bbtools

PATCH_SITES=    ${MASTER_SITE_SOURCEFORGE}
PATCH_SITE_SUBDIR=  bbtools
PATCHFILES= bbapm-0.0.1-freebsd-patch-2.diff
PATCH_DIST_STRIP=   -p1

MAINTAINER= ports@FreeBSD.org
COMMENT=    APM monitor for the Blackbox slit

ONLY_FOR_ARCHS= i386
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
USE_XORG=   x11

PLIST_FILES=    bin/bbapm share/bbtools/README.bbapm share/bbtools/bbapm.conf \
        share/bbtools/bbapm.nobb share/bbtools/bbapm.style \
        share/bbtools/bbtoolsrc.in

do-install:
    ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g operator \
        -m 2555 ${WRKSRC}/bbapm ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/share/bbtools
.for a in README.bbapm bbapm.conf bbapm.nobb bbapm.style bbtoolsrc.in
    ${INSTALL_DATA} ${WRKSRC}/data/${a} ${PREFIX}/share/bbtools
.endfor

post-install:
    @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
        >> ${TMPPLIST}

.include <bsd.port.mk>