diff options
author | miwi <miwi@FreeBSD.org> | 2007-09-17 17:41:28 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-09-17 17:41:28 +0800 |
commit | b67af16258b8380cd5b2cd6d73acd8c07e43f4f0 (patch) | |
tree | 797147bc75ecbb7064dd416beccaee9dd94e1728 /ftp | |
parent | 5d5c2c236f532bf8d82d77dd56d7246773986b0e (diff) | |
download | freebsd-ports-gnome-b67af16258b8380cd5b2cd6d73acd8c07e43f4f0.tar.gz freebsd-ports-gnome-b67af16258b8380cd5b2cd6d73acd8c07e43f4f0.tar.zst freebsd-ports-gnome-b67af16258b8380cd5b2cd6d73acd8c07e43f4f0.zip |
- Add desktop file to the plist
Approved by: maintainer
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/gproftpd/Makefile | 8 | ||||
-rw-r--r-- | ftp/gproftpd/files/patch-Makefile.in | 22 | ||||
-rw-r--r-- | ftp/gproftpd/pkg-plist | 2 |
3 files changed, 30 insertions, 2 deletions
diff --git a/ftp/gproftpd/Makefile b/ftp/gproftpd/Makefile index 9bf96f84387f..f3c12a751953 100644 --- a/ftp/gproftpd/Makefile +++ b/ftp/gproftpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= gproftpd PORTVERSION= 8.3.2 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= http://mange.dynalias.org/linux/gproftpd/ @@ -34,8 +35,11 @@ post-configure: post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif + @${INSTALL} -d ${PREFIX}/share/applications + @${INSTALL_DATA} ${WRKSRC}/desktop/net-gproftpd.desktop \ + ${PREFIX}/share/applications .include <bsd.port.mk> diff --git a/ftp/gproftpd/files/patch-Makefile.in b/ftp/gproftpd/files/patch-Makefile.in new file mode 100644 index 000000000000..eddd90c39ebd --- /dev/null +++ b/ftp/gproftpd/files/patch-Makefile.in @@ -0,0 +1,22 @@ +--- Makefile.in.orig 2007-05-18 09:49:49.000000000 -0800 ++++ Makefile.in 2007-09-16 13:40:53.000000000 -0800 +@@ -637,19 +637,6 @@ + if test -d $(DESTDIR)$(sysconfdir)/security/console.apps; then \ + cp etc/security/console.apps/gproftpd $(DESTDIR)$(sysconfdir)/security/console.apps/; \ + fi; +- if test -d $(DESTDIR)$(datadir)/applications; then \ +- cp desktop/net-gproftpd.desktop $(DESTDIR)$(datadir)/applications/; \ +- fi; +- if test -d $(DESTDIR)$(datadir)/gnome/apps/Internet; then \ +- cp desktop/net-gproftpd.desktop $(DESTDIR)$(datadir)/gnome/apps/Internet/; \ +- fi; +- if test ! -d $(DESTDIR)$(datadir)/doc/gproftpd; then \ +- $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/gproftpd; \ +- cp AUTHORS $(DESTDIR)$(datadir)/doc/gproftpd/; \ +- cp README $(DESTDIR)$(datadir)/doc/gproftpd/; \ +- cp ChangeLog $(DESTDIR)$(datadir)/doc/gproftpd/; \ +- cp COPYING $(DESTDIR)$(datadir)/doc/gproftpd/; \ +- fi; + if test ! -d $(DESTDIR)$(sysconfdir)/gproftpd; then \ + $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gproftpd; \ + fi; diff --git a/ftp/gproftpd/pkg-plist b/ftp/gproftpd/pkg-plist index 924f0ba03d07..dddb8ece1452 100644 --- a/ftp/gproftpd/pkg-plist +++ b/ftp/gproftpd/pkg-plist @@ -10,7 +10,9 @@ share/pixmaps/gproftpd/gproftpd32.png share/pixmaps/gproftpd/gproftpd36.xpm share/pixmaps/gproftpd/gproftpd48.png share/pixmaps/gproftpd/gproftpd64.png +share/applications/net-gproftpd.desktop @dirrm share/pixmaps/gproftpd @exec mkdir -p %%WWWDIR%% @dirrmtry %%WWWDIR%% +@dirrmtry share/applications @dirrm etc/gproftpd |