freebsd-ports/mail/linux-r7-organizer/Makefile
Dima Panov 31ccfb7c40
mail/linux-r7-organizer: update to 3.1.2 release
Sponsored by:	Future Crew, LLC
2024-11-22 11:18:00 +03:00

44 lines
1.6 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

PORTNAME= r7-organizer
PORTVERSION= 3.1.2
DISTVERSIONSUFFIX= -1
CATEGORIES= mail linux russian
MASTER_SITES= https://download.r7-office.ru/organizer/centos/
PKGNAMEPREFIX= linux-
DISTNAME= r7organizer-${PORTVERSION}${DISTVERSIONSUFFIX}
EXTRACT_SUFX= .x86_64.rpm
MAINTAINER= fluffy@FreeBSD.org
COMMENT= Russian office mail, tasks and contacts organizer (BASIC version)
WWW= https://r7-office.ru/organizer
LICENSE= commercial
LICENSE_NAME= commercial
LICENSE_TEXT= Commercial software with 30 days trial period
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
ONLY_FOR_ARCHS= amd64
USES= desktop-file-utils linux:rl9 shared-mime-info
USE_LINUX= gtk3 sqlite3 alsalib
CONFLICTS_INSTALL= linux-r7-organizer-pro
NO_BUILD= yes
PLIST_SUB= LINUXBASE=${LINUXBASE}
STRIP=
post-patch:
${REINPLACE_CMD} -i '' 's|/opt/r7-office/organizer/|${PREFIX}/bin/|' ${WRKDIR}/opt/r7-office/organizer/r7-organizer.desktop
${REINPLACE_CMD} -i '' 's|P7|Р7|' ${WRKDIR}/opt/r7-office/organizer/r7-organizer.desktop
do-install:
cd ${WRKDIR}/opt && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share
${RM} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer
${INSTALL_PROGRAM} -C ${WRKDIR}/opt/r7-office/organizer/r7organizer ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer
${RLN} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7organizer ${STAGEDIR}${PREFIX}/bin/
${MV} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/r7-organizer.desktop ${STAGEDIR}${PREFIX}/share/applications
${RLN} ${STAGEDIR}${PREFIX}/share/r7-office/organizer/chrome/icons/default/default256.png \
${STAGEDIR}${PREFIX}/share/pixmaps/r7-organizer.png
.include <bsd.port.mk>