- Add desktop file to the plist
Approved by: maintainer
This commit is contained in:
parent
ee768a737d
commit
a9858f6f52
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199597
@ -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>
|
||||
|
22
ftp/gproftpd/files/patch-Makefile.in
Normal file
22
ftp/gproftpd/files/patch-Makefile.in
Normal file
@ -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;
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user