FreeBSD Bugzilla – Attachment 69723 Details for
Bug 101937
[PATCH] chinese/tatter-tools: Respect DESTDIR, portlint fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
tatter-tools-0.9.6.patch
tatter-tools-0.9.6.patch (text/plain), 1.80 KB, created by
gslin
on 2006-08-12 20:10:15 UTC
(
hide
)
Description:
tatter-tools-0.9.6.patch
Filename:
MIME Type:
Creator:
gslin
Created:
2006-08-12 20:10:15 UTC
Size:
1.80 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/chinese/tatter-tools/Makefile /home/staff/gslin/work/ports/tatter-tools/Makefile >--- /usr/ports/chinese/tatter-tools/Makefile Mon May 22 05:56:25 2006 >+++ /home/staff/gslin/work/ports/tatter-tools/Makefile Sun Aug 13 03:06:10 2006 >@@ -25,23 +25,16 @@ > WRKSRC= ${WRKDIR}/${TMPDIR} > > .if defined(WITH_MYSQL5) >-IGNORE= Please take a look at http://www.twtt.org/viewtopic.php?t=192&highlight=bsd for soultion >+IGNORE= take a look at http://www.twtt.org/viewtopic.php?t=192&highlight=bsd for soultion > .endif > > .if !defined(TT_URL) > pre-fetch: > @${ECHO_MSG} "" >- @${ECHO_MSG} "Define TT_URL to override default of ${PREFIX}/${WWWDOCROOT}/'${TT_URL}'." >+ @${ECHO_MSG} "Define TT_URL to override default of ${TARGETDIR}/${WWWDOCROOT}/'${TT_URL}'." > @${ECHO_MSG} "" > .endif > >-# Get HOSTNAME >-.if exists(/sbin/sysctl) >-HOSTNAME!= /sbin/sysctl -n kern.hostname >-.else >-HOSTNAME!= /usr/sbin/sysctl -n kern.hostname >-.endif >- > WWWDOCROOT?= www/data > TT_URL?= tatter > TT_DIR?= ${WWWDOCROOT}/${TT_URL} >@@ -49,6 +42,9 @@ > > .include <bsd.port.pre.mk> > >+# Get HOSTNAME >+HOSTNAME!= ${SYSCTL} -n kern.hostname >+ > pre-install: > @cd ${WRKSRC} && ${FIND} -s . -type f | \ > ${SED} -e 's|^./||;s|^|${TT_DIR}/|' > ${PLIST} \ >@@ -58,11 +54,11 @@ > && ${ECHO_CMD} @dirrmtry ${WWWDOCROOT} >> ${PLIST} > > do-install: >- -${MKDIR} ${PREFIX}/${TT_DIR} >- @${CHMOD} 755 ${PREFIX}/${TT_DIR} >- @${CP} -R ${WRKSRC}/ ${PREFIX}/${TT_DIR} >- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TT_DIR} >- @${CHMOD} 777 ${PREFIX}/${TT_DIR}/ >+ -${MKDIR} ${TARGETDIR}/${TT_DIR} >+ @${CHMOD} 755 ${TARGETDIR}/${TT_DIR} >+ @${CP} -R ${WRKSRC}/ ${TARGETDIR}/${TT_DIR} >+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${TT_DIR} >+ @${CHMOD} 777 ${TARGETDIR}/${TT_DIR}/ > > post-install: > @${SED} -e 's|%%HOSTNAME%%|${HOSTNAME}|; s|%%TT_URL%%|${TT_URL}|' \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 101937
: 69723