1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

use SUB_FILES for pkg-message

This commit is contained in:
Edwin Groothuis 2006-04-01 12:50:29 +00:00
parent 7e9975b749
commit 5240d29127
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158548
4 changed files with 9 additions and 4 deletions

View File

@ -23,6 +23,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
post-patch:
.for file in de es fr pt_BR
@ -33,6 +35,6 @@ post-patch:
post-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/config-file/dictionary ${DATADIR}
@${CAT} ${PKGMESSAGE} | ${SED} "s|%%DATADIR%%|${DATADIR}|"
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -10,7 +10,7 @@ PORTVERSION= 0.6
PORTREVISION= 4
CATEGORIES= deskutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
PKGNAMEPREFIX= gdesklets-
DISTNAME= recently-used-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@ -20,6 +20,9 @@ RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
USE_PYTHON= yes
USE_X_PREFIX= yes
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
NAME= RecentlyUsed
DATADIR= ${PREFIX}/share/gnome

View File

@ -1,11 +1,11 @@
##
To view the installed applets:
ls ${PREFIX}/share/gnome/gdesklets/Displays
ls %%PREFIX%%/share/gnome/gdesklets/Displays
To use those applets:
gdesklets open ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${name}.display
gdesklets open %%PREFIX%%/share/gnome/gdesklets/Displays/${name}/${name}.display
Replace ${name} with the correct name of the applets you want to use.