diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-12-10 22:10:04 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-12-10 22:10:04 +0000 |
commit | 1e136d15bacb9b0ac908294a0821e2b3933991b2 (patch) | |
tree | f20b569ee27a1d73a6a188bf6339e7623cd7cfa5 /ports-mgmt/tinderbox-devel | |
parent | 91e6b9f468c89f48e8c74485b69eda65966e9c1a (diff) | |
download | ports-1e136d15bacb9b0ac908294a0821e2b3933991b2.tar.gz ports-1e136d15bacb9b0ac908294a0821e2b3933991b2.zip |
Notes
Diffstat (limited to 'ports-mgmt/tinderbox-devel')
-rw-r--r-- | ports-mgmt/tinderbox-devel/Makefile | 29 | ||||
-rw-r--r-- | ports-mgmt/tinderbox-devel/pkg-plist | 10 |
2 files changed, 23 insertions, 16 deletions
diff --git a/ports-mgmt/tinderbox-devel/Makefile b/ports-mgmt/tinderbox-devel/Makefile index 8c462e91f57b..7cb1b7aebebe 100644 --- a/ports-mgmt/tinderbox-devel/Makefile +++ b/ports-mgmt/tinderbox-devel/Makefile @@ -6,7 +6,7 @@ PORTNAME= tinderbox PORTVERSION= 2.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= http://tinderbox.marcuscom.com/ @@ -103,21 +103,28 @@ post-patch: ${WRKSRC}/lib/setup-mysql.sh @${RM} ${WRKSRC}/lib/setup-mysql.sh.bak .endif +.if ! (${OSVERSION} > 700014 || ( ${OSVERSION} >= 601101 && ${OSVERSION} < 700000 )) + ${REINPLACE_CMD} -E -e 's!/usr/bin/csup!${PREFIX}/bin/csup!' \ + ${WRKSRC}/create + ${REINPLACE_CMD} -E -e 's!/usr/bin/csup!${PREFIX}/bin/csup!' \ + ${WRKSRC}/tc + @${RM} ${WRKSRC}/create.bak + @${RM} ${WRKSRC}/tc.bak +.endif -do-install: - ${MKDIR} ${PREFIX}/tinderbox/scripts - ${CP} -R ${WRKSRC}/* ${PREFIX}/tinderbox/scripts -.if !defined(WITH_WEB) || !defined(WITHOUT_WEB_EXP) - @${ECHO_CMD} "Removing web interface componenets ..." - @${RM} -R ${PREFIX}/tinderbox/scripts/www - @${ECHO_CMD} "Done." +pre-install: +.if !defined(WITH_WEB) + ${RM} -R ${WRKSRC}/www .endif .if defined(WITHOUT_WEB_EXP) - @${ECHO_CMD} "Removing web interface componenets ..." - @${RM} -R ${PREFIX}/tinderbox/scripts/www-exp - @${ECHO_CMD} "Done." + ${RM} -R ${WRKSRC}/www-exp .endif + +do-install: + ${MKDIR} ${PREFIX}/tinderbox/scripts + ${CP} -R ${WRKSRC}/* ${PREFIX}/tinderbox/scripts + post-install: cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 @${CAT} ${PKGMESSAGE} diff --git a/ports-mgmt/tinderbox-devel/pkg-plist b/ports-mgmt/tinderbox-devel/pkg-plist index fe178712e26c..fae32460582b 100644 --- a/ports-mgmt/tinderbox-devel/pkg-plist +++ b/ports-mgmt/tinderbox-devel/pkg-plist @@ -109,11 +109,11 @@ tinderbox/scripts/upgrade/mig_shlib.sh %%WEB%%tinderbox/scripts/www/showport.php %%WEB%%tinderbox/scripts/www/tinderstyle.css -@dirrm tinderbox/scripts/www-exp/templates/default -@dirrm tinderbox/scripts/www-exp/templates -@dirrm tinderbox/scripts/www-exp/module -@dirrm tinderbox/scripts/www-exp/core -@dirrm tinderbox/scripts/www +%%WEB_EXP%%@dirrm tinderbox/scripts/www-exp/templates/default +%%WEB_EXP%%@dirrm tinderbox/scripts/www-exp/templates +%%WEB_EXP%%@dirrm tinderbox/scripts/www-exp/module +%%WEB_EXP%%@dirrm tinderbox/scripts/www-exp/core +%%WEB%%@dirrm tinderbox/scripts/www @dirrm tinderbox/scripts/upgrade @dirrm tinderbox/scripts/man/man1 @dirrm tinderbox/scripts/man |