1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/sysutils/bbapm/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

37 lines
925 B
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= SF/bbtools/${PORTNAME}/bbapm-0.0.1-freebsd-patch
PATCHFILES= bbapm-0.0.1-freebsd-patch-2.diff
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= APM monitor for the Blackbox slit
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= i386
USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_XORG= x11
do-install:
${INSTALL} ${COPY} ${STRIP} ${WRKSRC}/bbapm ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bbtools
.for a in README.bbapm bbapm.conf bbapm.nobb bbapm.style bbtoolsrc.in
${INSTALL_DATA} ${WRKSRC}/data/${a} ${STAGEDIR}${PREFIX}/share/bbtools
.endfor
post-install:
@${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
>> ${TMPPLIST}
.include <bsd.port.mk>