diff options
author | jlam <jlam> | 2004-07-23 19:47:21 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-07-23 19:47:21 +0000 |
commit | fcc532142783bcf32eea1a4763f0cf92b205246b (patch) | |
tree | 26fab50ccea644ddc766685f6691d8d136cbe508 /sysutils/webmin/Makefile | |
parent | d96fd6f26d43673642233ed0b88eaf9f5e8b4b3f (diff) | |
download | pkgsrc-fcc532142783bcf32eea1a4763f0cf92b205246b.tar.gz |
We need to generate the PLIST or else binary packages won't be created
properly.
Diffstat (limited to 'sysutils/webmin/Makefile')
-rw-r--r-- | sysutils/webmin/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile index 7379b321ab4..c50547180ff 100644 --- a/sysutils/webmin/Makefile +++ b/sysutils/webmin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/07/23 19:28:32 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2004/07/23 19:47:21 jlam Exp $ DISTNAME= webmin-1.150-minimal PKGNAME= ${DISTNAME:S/-minimal$//} @@ -32,21 +32,18 @@ MESSAGE_SUBST+= WEBMIN_DIR=${WEBMIN_DIR} USE_PKGINSTALL= yes DEINSTALL_EXTRA_TMPL= ${.CURDIR}/DEINSTALL RCD_SCRIPTS= webmin -OWN_DIRS= ${WEBMIN_ETCDIR} ${WEBMIN_LOGDIR} ${WEBMIN_DIR} +OWN_DIRS= ${WEBMIN_LOGDIR} -## Don't register any of the files in ${WEBMIN_DIR}. We'll use Webmin's -## own uninstall script to remove itself. -## -## # Dynamically generate the Webmin PLIST from the installed files. -## WEBMIN_PLIST_FILES= \ -## ( cd ${PREFIX}; ${FIND} ${WEBMIN_SUBDIR} \! -type d -print ) \ -## | ${SORT} -u -## WEBMIN_PLIST_DIRS= \ -## ( cd ${PREFIX}; ${FIND} ${WEBMIN_SUBDIR} -type d -print ) \ -## | ${SED} -e "s,^,@unexec ${RMDIR} -p %D/," \ -## -e "s,$$, 2>/dev/null || ${TRUE}," \ -## | ${SORT} -ur -## GENERATE_PLIST+= ${WEBMIN_PLIST_FILES}; ${WEBMIN_PLIST_DIRS}; +# Dynamically generate the Webmin PLIST from the installed files. +WEBMIN_PLIST_FILES= \ + ( cd ${PREFIX}; ${FIND} ${WEBMIN_SUBDIR} \! -type d -print ) \ + | ${SORT} -u +WEBMIN_PLIST_DIRS= \ + ( cd ${PREFIX}; ${FIND} ${WEBMIN_SUBDIR} -type d -print ) \ + | ${SED} -e "s,^,@unexec ${RMDIR} -p %D/," \ + -e "s,$$, 2>/dev/null || ${TRUE}," \ + | ${SORT} -ur +GENERATE_PLIST+= ${WEBMIN_PLIST_FILES}; ${WEBMIN_PLIST_DIRS}; do-configure: for file in ${WRKSRC}/setup.sh; do \ |