FreeBSD Bugzilla – Attachment 100583 Details for
Bug 139885
[maintainer-update][patch] devel/diffuse: Add path fix, add NOPORTDATA support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.88 KB, created by
Marco Bröder
on 2009-10-24 14:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Marco Bröder
Created:
2009-10-24 14:10:02 UTC
Size:
1.88 KB
patch
obsolete
>diff --git a/devel/diffuse/Makefile b/devel/diffuse/Makefile >index 1f1b750..cc91fe9 100644 >--- a/devel/diffuse/Makefile >+++ b/devel/diffuse/Makefile >@@ -7,6 +7,7 @@ > > PORTNAME= diffuse > PORTVERSION= 0.4.1 >+PORTREVISION= 1 > CATEGORIES= devel python > MASTER_SITES= SF > >@@ -20,7 +21,6 @@ USE_GNOME= pygtk2 > USE_BZIP2= yes > > MAN1= diffuse.1 >-PORTDATA= syntax > > OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \ > OMF "Install OMF manual (needs scrollkeeper)" on \ >@@ -32,6 +32,10 @@ OPTIONS= MENU "Add desktop menu (needs desktop-file-utils)" on \ > PORTDOCS= AUTHORS COPYING ChangeLog README > .endif > >+.ifndef (NOPORTDATA) >+PORTDATA= syntax >+.endif >+ > .ifdef (WITH_MENU) > PLIST_SUB+= MENU="" > USE_GNOME+= desktopfileutils >@@ -56,8 +60,18 @@ PLIST_SUB+= NLS="@comment " > .endif > > post-patch: >+.ifndef (NOPORTDATA) > ${REINPLACE_CMD} -e 's|../usr|${PREFIX}|g; s|/etc|${PREFIX}/etc|g' \ > ${WRKSRC}/src/etc/${PORTNAME}rc >+.else >+ ${REINPLACE_CMD} -e 's|import ../usr|\#(Disabled by NOPORTDATA !) \ >+ import ${PREFIX}|g; s|/etc|${PREFIX}/etc|g' \ >+ ${WRKSRC}/src/etc/${PORTNAME}rc >+.endif >+ >+ ${REINPLACE_CMD} -e 's|../../etc|${PREFIX}/etc|g' \ >+ ${WRKSRC}/src/usr/bin/${PORTNAME} >+ > ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ > ${WRKSRC}/src/usr/share/omf/${PORTNAME}/${PORTNAME}-C.omf > >@@ -67,9 +81,6 @@ do-install: > ${INSTALL_DATA} ${WRKSRC}/src/etc/${PORTNAME}rc ${PREFIX}/etc/ > > post-install: >- ${MKDIR} ${DATADIR}/syntax >- (cd ${WRKSRC}/src/usr/share/${PORTNAME}/ && \ >- ${COPYTREE_SHARE} \* ${DATADIR}/) > ${INSTALL_MAN} ${WRKSRC}/src/usr/share/man/man1/*.1 \ > ${MANPREFIX}/man/man1/ > >@@ -80,6 +91,12 @@ post-install: > done > .endif > >+.ifndef (NOPORTDATA) >+ ${MKDIR} ${DATADIR}/syntax >+ (cd ${WRKSRC}/src/usr/share/${PORTNAME}/ && \ >+ ${COPYTREE_SHARE} \* ${DATADIR}/) >+.endif >+ > .ifndef (WITHOUT_NLS) > for x in ${TRANSLATIONS}; do \ > ${MKDIR} ${PREFIX}/share/locale/$${x}/LC_MESSAGES; \
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 139885
: 100583