summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-12-26 06:43:19 +0000
committersem <sem@FreeBSD.org>2005-12-26 06:43:19 +0000
commit7a0f62c9926c23d4fb0567fa8c531e7bf19c99c4 (patch)
treebf1ba09bfe9ac4af51847d1fc8e6eb0655ef8542 /misc
parent8d48444231ca28e2f4552343aec05327b8e3b4a6 (diff)
downloadFreeBSD-ports-7a0f62c9926c23d4fb0567fa8c531e7bf19c99c4.zip
FreeBSD-ports-7a0f62c9926c23d4fb0567fa8c531e7bf19c99c4.tar.gz
- Print pkg-message
PR: ports/90912 Submitted by: Ion-Mihai "IOnut" Tetcu (maintainer) Obtained from: dougb@, misc/compat5x
Diffstat (limited to 'misc')
-rw-r--r--misc/fortune-mod-culmea-culmilor/Makefile2
-rw-r--r--misc/fortune-mod-culmea-culmilor/Makefile.fortune20
2 files changed, 17 insertions, 5 deletions
diff --git a/misc/fortune-mod-culmea-culmilor/Makefile b/misc/fortune-mod-culmea-culmilor/Makefile
index cba194c..ae31edf 100644
--- a/misc/fortune-mod-culmea-culmilor/Makefile
+++ b/misc/fortune-mod-culmea-culmilor/Makefile
@@ -3,7 +3,7 @@
# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
#
# $FreeBSD$
-# $Tecnik: ports/misc/fortune-mod-culmea-culmilor/Makefile,v 1.3 2005/12/15 17:48:02 itetcu Exp $
+# $Tecnik: ports/misc/fortune-mod-culmea-culmilor/Makefile,v 1.4 2005/12/21 16:18:14 itetcu Exp $
#
PORTNAME= fortune-mod-culmea-culmilor
diff --git a/misc/fortune-mod-culmea-culmilor/Makefile.fortune b/misc/fortune-mod-culmea-culmilor/Makefile.fortune
index 4b58b75..1aab580 100644
--- a/misc/fortune-mod-culmea-culmilor/Makefile.fortune
+++ b/misc/fortune-mod-culmea-culmilor/Makefile.fortune
@@ -1,4 +1,4 @@
-# $Tecnik: ports/misc/fortune-mod-culmea-culmilor/Makefile.fortune,v 1.6 2005/12/19 15:30:38 itetcu Exp $
+# $Tecnik: ports/misc/fortune-mod-culmea-culmilor/Makefile.fortune,v 1.8 2005/12/24 15:16:48 itetcu Exp $
NO_WRKSUBDIR= yes
@@ -11,6 +11,17 @@ FORTUNE_FILE_O= ${FORTUNE_FILE}-o
PLIST_FILES+= ${_FORTUNE_DIR}/${FORTUNE_FILE} ${_FORTUNE_DIR}/${FORTUNE_FILE}.dat
+post-extract:
+ @( ${ECHO} ""; \
+ ${ECHO} "******************************************************"; \
+ ${ECHO} "Usage:"; \
+ ${ECHO} "${_STRFILE} ${FORTUNE_DIR}/${FORTUNE_FILE}"; \
+ ${ECHO} "See fortune(6) for details."; \
+ ${ECHO} "******************************************************"; \
+ ${ECHO} ""; ) > ${WRKDIR}/pkg-message
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
do-build:
@cd ${WRKSRC} && ${_STRFILE} ${_STRFILE_ARGS} ${PORTNAME}
@if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
@@ -18,7 +29,7 @@ do-build:
fi
do-install:
@${MKDIR} ${FORTUNE_DIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${FORTUNE_DIR}/${FORTUNE_FILE}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${FORTUNE_DIR}/${FORTUNE_FILE}
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.dat ${FORTUNE_DIR}/${FORTUNE_FILE}.dat
@if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o ${FORTUNE_DIR}/${FORTUNE_FILE_O}; \
@@ -29,5 +40,6 @@ post-install:
${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O} >> ${TMPPLIST}; \
${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O}.dat >> ${TMPPLIST}; \
fi
- ${ECHO_CMD} "@unexec rmdir %D/${_FORTUNE_DIR} 2>/dev/null || true" >> ${TMPPLIST}
- ${ECHO_CMD} "@unexec rmdir %D/share/games 2>/dev/null || true" >> ${TMPPLIST}
+ @${ECHO_CMD} "@unexec rmdir %D/${_FORTUNE_DIR} 2>/dev/null || true" >> ${TMPPLIST}
+ @${ECHO_CMD} "@unexec rmdir %D/share/games 2>/dev/null || true" >> ${TMPPLIST}
+ @${CAT} ${PKGMESSAGE}
OpenPOWER on IntegriCloud