1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/x11/fbpanel/Makefile
William Grzybowski a3b920c1e8 x11/fbpanel: minor fixes
- Remove unnecessary PORTDCOS from pkg-plist
- Mute mkdir
- Trim desktop entry and replace command

PR:		ports/180112
Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
2013-07-04 14:22:41 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Tobias Roth <ports@fsck.ch>
# $FreeBSD$
PORTNAME= fbpanel
PORTVERSION= 6.1
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= SF
EXTRACT_SUFX= .tbz2
MAINTAINER= nemysis@gmx.ch
COMMENT= Lightweight, NETWM compliant X11 desktop panel
LICENSE= MIT
USE_BZIP2= yes
USES= pkgconfig
USE_GNOME= gtk20
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_GMAKE= yes
MAN1= ${PORTNAME}.1
PORTDOCS= CHANGELOG CREDITS NOTES README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \
"${PORTNAME}" "${PORTNAME}" "System;" false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/scripts/install.sh
@${REINPLACE_CMD} -e 's|@DATADIR@|${DATADIR}|' \
${WRKSRC}/data/man/${MAN1}.in
post-install:
${INSTALL_MAN} ${WRKSRC}/data/man/${MAN1} ${MAN1PREFIX}/man/man1
${LN} -sf ${DATADIR}/images/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>