blob: fa016a0f9fb1fdc48bfe4bd5cba7b40a4a4728d9 (
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
|
# Created by: Adam Weinberger <adam@vectors.cx>
# $FreeBSD$
PORTNAME= bbapm
PORTVERSION= 0.0.1
PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:C/%SUBDIR%/bbtools\/${PORTNAME}\/bbapm-0.0.1-freebsd-patch/}
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
NO_STAGE= yes
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>
|