1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/lepton/Makefile
Mikhail Teterin afb2268a38 Finish up the port, which got committed too early by accident:
. Note, that it works on CPUs with at least SSSE3
	  instruction set -- the original code assumes SSE4,
	  but that was relatively easy to patch
	. Do not attempt to build, if SSSE3 not among CPU-options
	. Fix up formatting warnings (reported upstream)
	. Fix a crash on i386. Unfortunately, 5 of the 40
	  self-tests still fail on i386 -- the problem reported
	  upstream
2016-07-15 03:05:26 +00:00

35 lines
769 B
Makefile

# Created by: Mikhail T. <mi@aldan.algebra.com>
# $FreeBSD$
PORTNAME= lepton
PORTVERSION= 0.2016.07.16
CATEGORIES= graphics devel
MAINTAINER= mi@aldan.algebra.com
COMMENT= Tool for manipulating files in LEP image format
LICENSE= APACHE20
USE_GITHUB= yes
GH_ACCOUNT= dropbox
GH_TAGNAME= a34ee2f4b0a6454eff8ebe334750dd008d57de35
USES= autoreconf
GNU_CONFIGURE= yes
TEST_TARGET= check
CFLAGS+= -DBSD -DGIT_REVISION='\"${GH_TAGNAME}\"'
.ifndef WITH_DEBUG
CFLAGS+= -DNDEBUG
.endif
EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude dependencies
PLIST_FILES= bin/lepton
.if !${MACHINE_CPU:Mssse3}
IGNORE= requires SSSE3 features in the processor
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lepton ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>