diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-07-04 14:22:41 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-07-04 14:22:41 +0000 |
commit | a3b920c1e87ae375c917e1dd5c049f9b0855fcfb (patch) | |
tree | 149d060494eea3efe84eaf44356e1e54aa57f2b3 /x11 | |
parent | cf60c9733a0b0492b35ed4563660c375c37ce734 (diff) | |
download | ports-a3b920c1e87ae375c917e1dd5c049f9b0855fcfb.tar.gz ports-a3b920c1e87ae375c917e1dd5c049f9b0855fcfb.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/fbpanel/Makefile | 19 | ||||
-rw-r--r-- | x11/fbpanel/pkg-plist | 5 |
2 files changed, 6 insertions, 18 deletions
diff --git a/x11/fbpanel/Makefile b/x11/fbpanel/Makefile index d3f545d1788c..f779c34073ab 100644 --- a/x11/fbpanel/Makefile +++ b/x11/fbpanel/Makefile @@ -14,11 +14,11 @@ 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 -USE_GNOME= gtk20 -USES= pkgconfig MAN1= ${PORTNAME}.1 @@ -27,28 +27,21 @@ PORTDOCS= CHANGELOG CREDITS NOTES README OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \ - "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ - "${PORTNAME}" "System;" false + "${PORTNAME}" "${PORTNAME}" "System;" false .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDOCS} -PLIST_SUB+= PORTDOCS="" -.else -PLIST_SUB+= PORTDOCS="@comment " -.endif - post-patch: - @${REINPLACE_CMD} -e 's|bash|sh|' ${WRKSRC}/scripts/install.sh + @${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/ + ${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} + @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif diff --git a/x11/fbpanel/pkg-plist b/x11/fbpanel/pkg-plist index af6e2d8863e4..5d6698194dc1 100644 --- a/x11/fbpanel/pkg-plist +++ b/x11/fbpanel/pkg-plist @@ -22,10 +22,6 @@ lib/fbpanel/tray.so lib/fbpanel/volume.so lib/fbpanel/wincmd.so libexec/fbpanel/make_profile -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG -%%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/NOTES -%%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/default %%DATADIR%%/images/battery_0.png %%DATADIR%%/images/battery_1.png @@ -55,6 +51,5 @@ libexec/fbpanel/make_profile share/pixmaps/fbpanel.png @dirrm %%DATADIR%%/images @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm libexec/fbpanel @dirrm lib/fbpanel |