Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= unison |
8 |
PORTNAME= unison |
9 |
PORTVERSION= 2.40.61 |
9 |
PORTVERSION= 2.45.4 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ |
11 |
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ |
12 |
PKGNAMESUFFIX= -devel |
12 |
PKGNAMESUFFIX= -devel |
Lines 17-27
Link Here
|
17 |
MAINTAINER= mad@madpilot.net |
17 |
MAINTAINER= mad@madpilot.net |
18 |
COMMENT= A user-level file synchronization tool |
18 |
COMMENT= A user-level file synchronization tool |
19 |
|
19 |
|
20 |
IGNORE= No devel release available at present. \ |
20 |
LICENSE= GPLv3 |
21 |
Install net/unison which is the latest stable version. |
|
|
22 |
|
21 |
|
23 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
22 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
24 |
USE_GMAKE= yes |
23 |
USE_GMAKE= yes |
|
|
24 |
WANT_GNOME= yes |
25 |
MAKE_ARGS= CFLAGS="" |
25 |
MAKE_ARGS= CFLAGS="" |
26 |
CONFLICTS= unison-[0-9]* unison-nox11-[0-9]* |
26 |
CONFLICTS= unison-[0-9]* unison-nox11-[0-9]* |
27 |
|
27 |
|
Lines 48-53
Link Here
|
48 |
RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 |
48 |
RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 |
49 |
PATCH_DEPENDS+= ${BUILD_DEPENDS} |
49 |
PATCH_DEPENDS+= ${BUILD_DEPENDS} |
50 |
CONFLICTS+= ocaml-nox11* |
50 |
CONFLICTS+= ocaml-nox11* |
|
|
51 |
USE_GNOME= desktopfileutils |
52 |
SUB_FILES+= ${PORTNAME}.desktop |
51 |
.else |
53 |
.else |
52 |
MAKE_ARGS+= UISTYLE=text |
54 |
MAKE_ARGS+= UISTYLE=text |
53 |
PLIST_SUB+= TEXT="@comment " |
55 |
PLIST_SUB+= TEXT="@comment " |
Lines 74-79
Link Here
|
74 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
76 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
75 |
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR} |
77 |
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR} |
76 |
.endif |
78 |
.endif |
|
|
79 |
.if defined(WITH_GTK2) |
80 |
@${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin |
81 |
@${MKDIR} ${DESKTOPDIR} |
82 |
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR} |
83 |
@-update-desktop-database > /dev/null |
77 |
@${CAT} ${PKGMESSAGE} |
84 |
@${CAT} ${PKGMESSAGE} |
|
|
85 |
.else |
86 |
@${CAT} ${PKGMESSAGE}.nox11 |
87 |
.endif |
78 |
|
88 |
|
79 |
.include <bsd.port.post.mk> |
89 |
.include <bsd.port.post.mk> |