1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/editors/softmaker-office/Makefile

46 lines
1.2 KiB
Makefile

# Created by: Ion-Mihai "IOnut" Tetcu<itetcu@FreeBSD.org>
# $FreeBSD$
PORTNAME= SoftMaker-Office
PORTVERSION= 2006
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://www.softmaker.net/down/
DISTFILES= ofb06trial.tgz
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Microsoft Word/Excel OpenDocument and OpenOffice.org editor
RUN_DEPENDS= ${LOCALBASE}/bin/xfs:${PORTSDIR}/x11-fonts/xfs
USE_XORG= x11
NO_BUILD= yes
WRKSRC= ${WRKDIR}/officetrial
OPTIONS_DEFINE= ALL_DICTS
OPTIONS_DEFAULT= ALL_DICTS
ALL_DICTS_DESC= Install all available dictionaries
RESTRICTED= distribution with other products of any kind forbiden
NO_CDROM= distribution with other products of any kind forbiden
NO_PACKAGE= distribution with other products of any kind forbiden
ONLY_FOR_ARCHS= i386
ALL_DICTS_DISTFILES= sml06dict.tgz
NO_STAGE= yes
post-extract:
cd ${WRKSRC} && ${FIND} . -type f -execdir ${CHMOD} ${SHAREMODE} \{\} \; && \
${CHMOD} ${BINMODE} planmaker textmaker
do-install:
${MKDIR} ${PREFIX}/${PORTNAME}
cd ${WRKSRC} && ${CP} -Rp . ${PREFIX}/${PORTNAME}
${LN} -s ${PREFIX}/${PORTNAME}/planmaker ${PREFIX}/bin/planmaker
${LN} -s ${PREFIX}/${PORTNAME}/textmaker ${PREFIX}/bin/textmaker
.include <bsd.port.mk>