diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-02-22 12:41:44 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-02-22 12:41:44 +0000 |
commit | 9f9be81e1e8e28e11795a252ad133c3532b3bb51 (patch) | |
tree | 526dd7f2f40730a5a9fdd0e7ed50cd03c06c1b18 /mail/horde-mimp | |
parent | d5ddc37be7737e048ee9a1055f87e13d933bd65c (diff) |
Notes
Diffstat (limited to 'mail/horde-mimp')
-rw-r--r-- | mail/horde-mimp/Makefile | 16 | ||||
-rw-r--r-- | mail/horde-mimp/pkg-plist | 7 |
2 files changed, 8 insertions, 15 deletions
diff --git a/mail/horde-mimp/Makefile b/mail/horde-mimp/Makefile index 66cdbdf612c7..944ee754eb55 100644 --- a/mail/horde-mimp/Makefile +++ b/mail/horde-mimp/Makefile @@ -1,6 +1,6 @@ # Ports collection makefile for: mimp3 # Date created: Mon Feb 05, 2007 -# Whom: Beech Rintoul (<beech@alaskaparadise.com>) +# Whom: Beech Rintoul <beech@alaskaparadise.com> # # $FreeBSD$ # @@ -67,8 +67,7 @@ USE_APACHE= 1.3+ # needed to test APACHE_VERSION USE_GETTEXT= yes REINPLACE_ARGS= -i.beforeMIMP -DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL \ - docs/RELEASE_NOTES +PORTDOCS= README CHANGES CREDITS INSTALL RELEASE_NOTES CONFFILE= filter.txt header.php menu.php mime_drivers.php motd.php \ prefs.php servers.php trailer.txt conf.xml .htaccess SUB_DIRS= config lib locale po templates themes @@ -115,6 +114,9 @@ HORDE_INC= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}/Includes/ HORDE_INC= ${LOCALBASE}/etc/horde/ .endif +post-extract: + @${MV} ${WRKSRC}/README ${WRKSRC}/docs/ + pre-configure: @${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:" ${WRKSRC}/config/conf.xml .if !defined(NOCRYPT) @@ -157,7 +159,7 @@ pre-install: .endfor do-install: - @${MKDIR} ${MIMPDIR} + @${INSTALL} -d ${MIMPDIR}/ .for REP in ${SUB_DIRS} @${CP} -Rp ${WRKSRC}/${REP} ${MIMPDIR}/ .endfor @@ -168,10 +170,8 @@ do-install: @${CHMOD} -R o-rwx ${CONFDIR}/ .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for FILE in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/ -.endfor + @${INSTALL} -d ${DOCSDIR}/ + @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR}/ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif diff --git a/mail/horde-mimp/pkg-plist b/mail/horde-mimp/pkg-plist index cc4e1eb5114d..34a3e3fc320c 100644 --- a/mail/horde-mimp/pkg-plist +++ b/mail/horde-mimp/pkg-plist @@ -1,9 +1,3 @@ -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES %%MIMPDIR%%/compose.php %%MIMPDIR%%/config/.htaccess %%MIMPDIR%%/config/conf.xml @@ -77,7 +71,6 @@ %%MIMPDIR%%/themes/graphics/mimp.png %%MIMPDIR%%/themes/graphics/horde-power2.png %%MIMPDIR%%/themes/graphics/horde-power2.wbmp -%%PORTDOCS%%@dirrm %%DOCSDIR%% %%HORDE_INC%%httpd-mimp.conf @dirrm %%MIMPDIR%%/themes/graphics @dirrm %%MIMPDIR%%/themes |