1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11/fbpanel/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Tobias Roth <ports@fsck.ch>
# $FreeBSD$
PORTNAME= fbpanel
PORTVERSION= 6.1
PORTREVISION= 5
CATEGORIES= x11
MASTER_SITES= SF
MAINTAINER= bsam@FreeBSD.org
COMMENT= Lightweight, NETWM compliant X11 desktop panel
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= alias gmake gnome pkgconfig tar:tbz2 xorg
USE_GNOME= gtk20
USE_XORG= x11
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PORTDOCS= CHANGELOG CREDITS NOTES README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \
"${PORTNAME}" "${PORTNAME}" "System;" false
post-patch:
@${REINPLACE_CMD} -e '/LDFLAGS/s/$$/ -lX11 -lm/' \
${WRKSRC}/panel/Makefile.in
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/scripts/install.sh
@${REINPLACE_CMD} -e 's|@DATADIR@|${DATADIR}|' \
${WRKSRC}/data/man/${PORTNAME}.1.in
post-install:
${INSTALL_MAN} ${WRKSRC}/data/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${LN} -sf ${DATADIR}/images/logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>