diff options
author | mm <mm@FreeBSD.org> | 2007-07-27 06:40:38 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-07-27 06:40:38 +0800 |
commit | 6d72eb41d3477d4552a47f9884db9d8a920d7f91 (patch) | |
tree | 582e3c65d000f07629c42b62ea66f24f357a9038 /net-im | |
parent | a89b12f8095689d9bc6a475e0dde023a89477be1 (diff) | |
download | freebsd-ports-gnome-6d72eb41d3477d4552a47f9884db9d8a920d7f91.tar.gz freebsd-ports-gnome-6d72eb41d3477d4552a47f9884db9d8a920d7f91.tar.zst freebsd-ports-gnome-6d72eb41d3477d4552a47f9884db9d8a920d7f91.zip |
- Fix pkg-plist for package (muc.xml)
- Respect CC
- Bump PORTREVISION
Suggested by: sat
Approved by: garga (mentor, implicit)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mu-conference/Makefile | 5 | ||||
-rw-r--r-- | net-im/mu-conference/pkg-plist | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/net-im/mu-conference/Makefile b/net-im/mu-conference/Makefile index 374160aa85b0..1d93f0665f59 100644 --- a/net-im/mu-conference/Makefile +++ b/net-im/mu-conference/Makefile @@ -6,6 +6,7 @@ PORTNAME= mu-conference PORTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://download.gna.org/mu-conference/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -76,8 +77,8 @@ SUB_LIST+= JABBER_REQUIRE="${JABBER_REQUIRE}" \ MUC_LOGDIR=${MUC_LOGDIR} post-patch: - @${REINPLACE_CMD} -e 's#=$$(CFLAGS)#=#g' \ - -e 's#CFLAGS[:]*=#CFLAGS+=#g' \ + @${REINPLACE_CMD} -e 's/=$$(CFLAGS)/=/g;s/^CFLAGS[:]*=/CFLAGS+=/g' \ + -e 's/^CC:*=/CC?=/g;s|gcc |$$(CC) |;s|-O2||g' \ -e 's#`pkg-config#`${LOCALBASE}/bin/pkg-config#g' \ ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile \ ${WRKSRC}/*/*/Makefile diff --git a/net-im/mu-conference/pkg-plist b/net-im/mu-conference/pkg-plist index 00624fec8e1a..333433c5d4f0 100644 --- a/net-im/mu-conference/pkg-plist +++ b/net-im/mu-conference/pkg-plist @@ -1,7 +1,4 @@ @unexec if cmp -s %D/etc/muc.xml.sample %D/etc/muc.xml; then rm -f %D/etc/muc.xml; fi bin/mu-conference etc/muc.xml.sample -%%PORTDOCS%%%%DOCSDIR%%/scripts/README -%%PORTDOCS%%%%DOCSDIR%%/scripts/roomname.pl -%%PORTDOCS%%%%DOCSDIR%%/scripts/roommaker.pl -%%PORTDOCS%%@dirrm %%DOCSDIR%%/scripts +@exec cp -n %D/%F %B/muc.xml |