1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- pkg-install and plist fixes

- while here, further fix plist and remove superfluous pre/post.mk usage

PR:		133813
Submitted by:	"J.R. Oldroyd" <fbsd at opal dot com> (maintainer)
This commit is contained in:
Dmitry Marakasov 2009-04-22 00:46:42 +00:00
parent 9858c187d9
commit 55412867a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232476
3 changed files with 3 additions and 26 deletions

View File

@ -51,8 +51,6 @@ RC_SCRIPT= ${PREFIX}/etc/rc.d/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
CONFDIR= ${PREFIX}/etc/${PORTNAME}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/etc/freevo|${PREFIX}/etc/freevo|' ${WRKSRC}/freevo_config.py
@${REINPLACE_CMD} -e 's|/etc/freevo|${PREFIX}/etc/freevo|' ${WRKSRC}/local_conf.py.example
@ -64,4 +62,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/local_conf.py.example ${CONFDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -9,7 +9,7 @@ home=%%FREEVO_HOME%%
export PATH=/bin:/usr/bin:/sbin:/usr/sbin
if [ "$1" = "PRE-INSTALL" ]; then
if [ "$2" = "POST-INSTALL" ]; then
if pw groupshow "$group" 2>/dev/null; then
echo "You already have a group \"$group\", so I will use it."
else

View File

@ -2306,7 +2306,6 @@ share/locale/zh_CN/LC_MESSAGES/freevo.po
@dirrm %%PYTHON_SITELIBDIR%%/freevo/video
@dirrm %%PYTHON_SITELIBDIR%%/freevo/www
@dirrm %%PYTHON_SITELIBDIR%%/freevo
@dirrmtry %%PYTHON_SITELIBDIR%%
@dirrm %%DOCSDIR%%/installation
@dirrm %%DOCSDIR%%/plugin_writing
@dirrm %%DOCSDIR%%
@ -2402,24 +2401,4 @@ share/locale/zh_CN/LC_MESSAGES/freevo.po
@dirrm %%DATADIR%%/skins/plugins/osd
@dirrm %%DATADIR%%/skins/plugins
@dirrm %%DATADIR%%/skins
@dirrm share/freevo
@dirrmtry share/locale/af/LC_MESSAGES
@dirrmtry share/locale/ca/LC_MESSAGES
@dirrmtry share/locale/cs/LC_MESSAGES
@dirrmtry share/locale/da/LC_MESSAGES
@dirrmtry share/locale/de/LC_MESSAGES
@dirrmtry share/locale/el/LC_MESSAGES
@dirrmtry share/locale/en_GB/LC_MESSAGES
@dirrmtry share/locale/es/LC_MESSAGES
@dirrmtry share/locale/fi/LC_MESSAGES
@dirrmtry share/locale/fr/LC_MESSAGES
@dirrmtry share/locale/hu/LC_MESSAGES
@dirrmtry share/locale/it/LC_MESSAGES
@dirrmtry share/locale/nl/LC_MESSAGES
@dirrmtry share/locale/pl/LC_MESSAGES
@dirrmtry share/locale/pt/LC_MESSAGES
@dirrmtry share/locale/pt_BR/LC_MESSAGES
@dirrmtry share/locale/ro/LC_MESSAGES
@dirrmtry share/locale/ru/LC_MESSAGES
@dirrmtry share/locale/sv/LC_MESSAGES
@dirrmtry share/locale/zh_CN/LC_MESSAGES
@dirrm %%DATADIR%%