mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
. add LICENCE (GPLv3); [1]
. add a desktop entry; [1] . bump PORTREVISION; [1] . transfer mainainership to a new person. PR: ports/154677 [1] Submitted by: bsam (me) [1] Approved by: Dan Pelleg <daniel+unison at pelleg.org> (maintainer)
This commit is contained in:
parent
ddd4d57145
commit
ccd3405a16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268938
6 changed files with 48 additions and 2 deletions
|
@ -7,22 +7,26 @@
|
|||
|
||||
PORTNAME= unison
|
||||
PORTVERSION= 2.32.52
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/
|
||||
DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS}
|
||||
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
||||
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz
|
||||
|
||||
MAINTAINER= daniel+unison@pelleg.org
|
||||
MAINTAINER= mad@madpilot.net
|
||||
COMMENT= A user-level file synchronization tool
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
USE_GMAKE= yes
|
||||
WANT_GNOME= yes
|
||||
MAKE_ARGS= CFLAGS=""
|
||||
CONFLICTS= unison-devel-[0-9]* unison-nox11-[0-9]*
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
LICENCE= GPLv3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -43,6 +47,8 @@ BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml \
|
|||
RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
|
||||
PATCH_DEPENDS+= ${BUILD_DEPENDS}
|
||||
CONFLICTS+= ocaml-nox11*
|
||||
USE_GNOME= desktopfileutils
|
||||
SUB_FILES+= ${PORTNAME}.desktop
|
||||
.else
|
||||
MAKE_ARGS+= UISTYLE=text
|
||||
PLIST_SUB+= TEXT="@comment "
|
||||
|
@ -68,6 +74,8 @@ post-install:
|
|||
.endif
|
||||
.if defined(WITH_GTK2)
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin
|
||||
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR}
|
||||
@-update-desktop-database > /dev/null
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.else
|
||||
@${CAT} ${PKGMESSAGE}.nox11
|
||||
|
|
11
net/unison/files/unison.desktop.in
Normal file
11
net/unison/files/unison.desktop.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Unison
|
||||
GenericName=File-synchronization tool
|
||||
Type=Application
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Categories=GTK;Utility;
|
||||
Exec=unison
|
||||
Comment=Synchronize files (directories) over different disks (hosts)
|
||||
Comment[ru]=Синхронизация файлов (каталогов) на нескольких дисках (компьютерах)
|
|
@ -1,4 +1,5 @@
|
|||
bin/unison
|
||||
%%TEXT%%share/applications/unison.desktop
|
||||
%%TEXT%%bin/unison-text
|
||||
%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
|
@ -7,3 +8,6 @@ bin/unison
|
|||
%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.ps
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%TEXT%%@dirrmtry share/applications
|
||||
%%TEXT%%@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :
|
||||
%%TEXT%%@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :
|
||||
|
|
|
@ -7,22 +7,26 @@
|
|||
|
||||
PORTNAME= unison
|
||||
PORTVERSION= 2.32.52
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/
|
||||
DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS}
|
||||
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
||||
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz
|
||||
|
||||
MAINTAINER= daniel+unison@pelleg.org
|
||||
MAINTAINER= mad@madpilot.net
|
||||
COMMENT= A user-level file synchronization tool
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
USE_GMAKE= yes
|
||||
WANT_GNOME= yes
|
||||
MAKE_ARGS= CFLAGS=""
|
||||
CONFLICTS= unison-devel-[0-9]* unison-nox11-[0-9]*
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
LICENCE= GPLv3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -43,6 +47,8 @@ BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml \
|
|||
RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
|
||||
PATCH_DEPENDS+= ${BUILD_DEPENDS}
|
||||
CONFLICTS+= ocaml-nox11*
|
||||
USE_GNOME= desktopfileutils
|
||||
SUB_FILES+= ${PORTNAME}.desktop
|
||||
.else
|
||||
MAKE_ARGS+= UISTYLE=text
|
||||
PLIST_SUB+= TEXT="@comment "
|
||||
|
@ -68,6 +74,8 @@ post-install:
|
|||
.endif
|
||||
.if defined(WITH_GTK2)
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin
|
||||
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR}
|
||||
@-update-desktop-database > /dev/null
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.else
|
||||
@${CAT} ${PKGMESSAGE}.nox11
|
||||
|
|
11
net/unison232/files/unison.desktop.in
Normal file
11
net/unison232/files/unison.desktop.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Unison
|
||||
GenericName=File-synchronization tool
|
||||
Type=Application
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Categories=GTK;Utility;
|
||||
Exec=unison
|
||||
Comment=Synchronize files (directories) over different disks (hosts)
|
||||
Comment[ru]=Синхронизация файлов (каталогов) на нескольких дисках (компьютерах)
|
|
@ -1,4 +1,5 @@
|
|||
bin/unison
|
||||
%%TEXT%%share/applications/unison.desktop
|
||||
%%TEXT%%bin/unison-text
|
||||
%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
|
@ -7,3 +8,6 @@ bin/unison
|
|||
%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.ps
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%TEXT%%@dirrmtry share/applications
|
||||
%%TEXT%%@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :
|
||||
%%TEXT%%@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :
|
||||
|
|
Loading…
Add table
Reference in a new issue