aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-02-15 06:42:50 +0800
committerkwm <kwm@FreeBSD.org>2005-02-15 06:42:50 +0800
commita5051a560c6c83599788ae2a2d679e1555b26031 (patch)
tree22eabaed7dfb25b702311fa2a6665864fac47b5e
parent7f53b2a997fb84be517e7293dfa5510db8019f64 (diff)
downloadfreebsd-ports-gnome-a5051a560c6c83599788ae2a2d679e1555b26031.tar.gz
freebsd-ports-gnome-a5051a560c6c83599788ae2a2d679e1555b26031.tar.zst
freebsd-ports-gnome-a5051a560c6c83599788ae2a2d679e1555b26031.zip
Don't delete dir's that are not ours [1].
Make portlint save. Add optional dependencie to libgnomeui if installed. Pointed out by: Pointyhat via kris [1].
-rw-r--r--www/bluefish/Makefile14
-rw-r--r--www/bluefish/pkg-plist49
2 files changed, 32 insertions, 31 deletions
diff --git a/www/bluefish/Makefile b/www/bluefish/Makefile
index 60a2a8e30338..30ee2a0f64b9 100644
--- a/www/bluefish/Makefile
+++ b/www/bluefish/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bluefish
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= www editors
MASTER_SITES= http://pkedu.fbt.eitn.wau.nl/~olivier/${DOWNLOAD}/ \
ftp://bluefish.advancecreations.com/pub/bluefish/${DOWNLOAD}/ \
@@ -30,6 +31,7 @@ RUN_DEPENDS+= tidy:${PORTSDIR}/www/tidy
DOWNLOAD= downloads
USE_BZIP2= yes
USE_GNOME= gnomehier gtk20 gnomevfs2
+WANT_GNOME= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
@@ -61,11 +63,13 @@ pre-everything::
@${ECHO_MSG} " WITHOUT_SPLASH disable the splash screen"
@${ECHO_MSG} ""
-post-patch:
-# @${REINPLACE_CMD} -e 's|/applications/|/apps/Applications/|g' \
-# ${WRKSRC}/data/Makefile.in
-
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/debian/bluefish.1 ${PREFIX}/man/man1/bluefish.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_GNOME+= libgnomeui
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/bluefish/pkg-plist b/www/bluefish/pkg-plist
index a811c3fa89c5..3fdff5467812 100644
--- a/www/bluefish/pkg-plist
+++ b/www/bluefish/pkg-plist
@@ -1,27 +1,27 @@
bin/bluefish
-share/bluefish/bluefish_splash.png
-share/bluefish/custom_menu.de.default
-share/bluefish/custom_menu.default
-share/bluefish/custom_menu.fr.default
-share/bluefish/encodings.default
-share/bluefish/filetypes.default
-share/bluefish/funcref_css.xml
-share/bluefish/funcref_html.xml
-share/bluefish/funcref_php.xml
-share/bluefish/funcref_python.xml
-share/bluefish/highlighting.default
-share/bluefish/icon_c.png
-share/bluefish/icon_cfml.png
-share/bluefish/icon_dir.png
-share/bluefish/icon_html.png
-share/bluefish/icon_image.png
-share/bluefish/icon_java.png
-share/bluefish/icon_pascal.png
-share/bluefish/icon_php.png
-share/bluefish/icon_python.png
-share/bluefish/icon_r.png
-share/bluefish/icon_unknown.png
-share/bluefish/icon_xml.png
+%%DATADIR%%/bluefish_splash.png
+%%DATADIR%%/custom_menu.de.default
+%%DATADIR%%/custom_menu.default
+%%DATADIR%%/custom_menu.fr.default
+%%DATADIR%%/encodings.default
+%%DATADIR%%/filetypes.default
+%%DATADIR%%/funcref_css.xml
+%%DATADIR%%/funcref_html.xml
+%%DATADIR%%/funcref_php.xml
+%%DATADIR%%/funcref_python.xml
+%%DATADIR%%/highlighting.default
+%%DATADIR%%/icon_c.png
+%%DATADIR%%/icon_cfml.png
+%%DATADIR%%/icon_dir.png
+%%DATADIR%%/icon_html.png
+%%DATADIR%%/icon_image.png
+%%DATADIR%%/icon_java.png
+%%DATADIR%%/icon_pascal.png
+%%DATADIR%%/icon_php.png
+%%DATADIR%%/icon_python.png
+%%DATADIR%%/icon_r.png
+%%DATADIR%%/icon_unknown.png
+%%DATADIR%%/icon_xml.png
share/gnome/application-registry/bluefish.applications
share/gnome/applications/bluefish.desktop
share/gnome/mime-info/bluefish.keys
@@ -42,8 +42,5 @@ share/locale/ru/LC_MESSAGES/bluefish.mo
share/locale/sr/LC_MESSAGES/bluefish.mo
share/locale/sv/LC_MESSAGES/bluefish.mo
share/locale/zh_CN/LC_MESSAGES/bluefish.mo
-share/mime/XMLnamespaces
-share/mime/globs
-share/mime/magic
share/mime/packages/bluefish.xml
@dirrm share/bluefish