1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/graphics/cenon/Makefile
Brooks Davis 3a34ffa58f Update Objective-C LLVM version to 6.0.
Fixes aarch64 build.  Reduces depends on obsolete LLVM 4.0.

PR:		230116
Submitted by:	mikael.urankar@gmail.com
Approved by:	theraven (prior version)
Sponsored by:	DARPA, AFRL
2018-09-26 15:23:37 +00:00

51 lines
1.4 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= cenon
PORTVERSION= 4.0.3
PORTREVISION= 2
CATEGORIES= graphics gnustep
MASTER_SITES= http://www.cenon.zone/download/source/
DISTNAME= Cenon-${MAINVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= theraven@FreeBSD.org
COMMENT= Vector graphics tool for GNUstep
USES= tar:bzip2 gnustep
USE_GNUSTEP= gui base build
WRKSRC= ${WRKDIR}/Cenon
MAINVERSION= 4.0.5
FULLVERSION= 4.0.0
CENON_LIB_DIR= ${GNUSTEP_SYSTEM_ROOT}/Library/Cenon
OPTIONS_DEFINE= FULL_LIBRARY
FULL_LIBRARY_DESC= Install complete Cenon Library
# Work around the fact that GNUstep doesn't define a constant for a higher
# version of AppKit that it supports.
OBJCFLAGS+=-DNSAppKitVersionNumber10_8=1200
.include <bsd.port.options.mk>
DISTFILES+= CenonLibrary-${FULLVERSION}-1${EXTRACT_SUFX}
post-patch:
${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DOMAIN|#GNUSTEP_INSTALLATION_DOMAIN|' \
${WRKSRC}/GNUmakefile
pre-install:
${MKDIR} ${STAGEDIR}${GNUSTEP_SYSTEM_ROOT}/Library/
${TAR} -xyvf ${_DISTDIR}/CenonLibrary-${FULLVERSION}-1${EXTRACT_SUFX} \
-C ${STAGEDIR}${GNUSTEP_SYSTEM_ROOT}/Library/ \
--exclude COPYING --exclude '._*'
post-stage:
${RM} ${STAGEDIR}${GNUSTEP_SYSTEM_ROOT}/Library/README
${RM} ${STAGEDIR}${GNUSTEP_SYSTEM_ROOT}/Library/._README
.include <bsd.port.mk>