- Fix LICENSE

- Add LICENSE_FILE
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2020-04-23 09:32:30 +00:00
parent b2cd9c3b28
commit 6ab19fc0c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=532662
2 changed files with 7 additions and 4 deletions

View File

@ -11,7 +11,8 @@ CATEGORIES= net
MAINTAINER= madpilot@FreeBSD.org MAINTAINER= madpilot@FreeBSD.org
COMMENT= User-level file synchronization tool COMMENT= User-level file synchronization tool
LICENSE= GPLv3 LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
FLAVORS= x11 nox11 FLAVORS= x11 nox11
FLAVOR?= ${FLAVORS:[1]} FLAVOR?= ${FLAVORS:[1]}
@ -96,14 +97,16 @@ post-build:
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.if ${FLAVOR} == x11 .if ${FLAVOR} == x11
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}-text ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}-text
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${VERSIONSUFFIX}.desktop ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${VERSIONSUFFIX}.desktop
${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${VERSIONSUFFIX}.png ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${VERSIONSUFFIX}.png
.endif .endif
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
do-install-FSMONITOR-on: do-install-FSMONITOR-on:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-fsmonitor ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-fsmonitor${VERSIONSUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-fsmonitor ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-fsmonitor${VERSIONSUFFIX}

View File

@ -8,4 +8,4 @@ management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
uni-directional mirroring utilities (rsync, etc.) and other synchronizers uni-directional mirroring utilities (rsync, etc.) and other synchronizers
(Intellisync, Reconcile, etc). (Intellisync, Reconcile, etc).
WWW: http://www.cis.upenn.edu/~bcpierce/unison/ WWW: https://www.cis.upenn.edu/~bcpierce/unison/