40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# 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>
|