diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-03 03:34:55 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-03 03:34:55 +0000 |
commit | 76fa8e157c6e954c2e32a021e9f82c201de650e1 (patch) | |
tree | 4f495d8d0c479a01ed113e3ee1c77bbe8e79c5ba /misc/fortune-mod-bible | |
parent | 7b8c2bbf810301c1796611e409e50ac3678ee6d0 (diff) | |
download | ports-76fa8e157c6e954c2e32a021e9f82c201de650e1.tar.gz ports-76fa8e157c6e954c2e32a021e9f82c201de650e1.zip |
Notes
Diffstat (limited to 'misc/fortune-mod-bible')
-rw-r--r-- | misc/fortune-mod-bible/Makefile | 4 | ||||
-rw-r--r-- | misc/fortune-mod-bible/files/pkg-message.in | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/misc/fortune-mod-bible/Makefile b/misc/fortune-mod-bible/Makefile index 0f9504c3783c..5a537fbba940 100644 --- a/misc/fortune-mod-bible/Makefile +++ b/misc/fortune-mod-bible/Makefile @@ -19,9 +19,11 @@ DIST_SUBDIR= ${PORTNAME} NO_WRKSUBDIR= yes PKGMESSAGE= ${WRKDIR}/pkg-message USE_BZIP2= yes +SUB_FILES+= pkg-message +_STRFILE= /usr/games/strfile do-build: - @${CAT} ${FILESDIR}/pkg-message.in | ${SED} 's#PREFIX#${PREFIX}#' > ${PKGMESSAGE} + @cd ${WRKSRC} && ${_STRFILE} bible do-install: @${MKDIR} ${PREFIX}/share/games diff --git a/misc/fortune-mod-bible/files/pkg-message.in b/misc/fortune-mod-bible/files/pkg-message.in index f712587b218c..86b133ee7d81 100644 --- a/misc/fortune-mod-bible/files/pkg-message.in +++ b/misc/fortune-mod-bible/files/pkg-message.in @@ -1,3 +1,3 @@ -Usage: fortune PREFIX/share/games/fortune/bible +Usage: fortune %%PREFIX%%/share/games/fortune/bible |