- Print pkg-message
PR: ports/90912 Submitted by: Ion-Mihai "IOnut" Tetcu (maintainer) Obtained from: dougb@, misc/compat5x
This commit is contained in:
parent
1bdcec02ad
commit
04a43e666d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152071
@ -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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user