opnsense-ports/graphics/seejpeg/Makefile
Franco Fichtner d543c3ab93 */*: sync with upstream
Taken from: FreeBSD
2016-04-02 16:03:17 +02:00

29 lines
696 B
Makefile

# Created by: Donn Miller <dmmiller@cvzoom.net>
# $FreeBSD$
PORTNAME= seejpeg
PORTVERSION= 1.10
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SUNSITE/apps/graphics/viewers/svga
MAINTAINER= ports@FreeBSD.org
COMMENT= Console graphics viewer using the svga console graphics library
LIB_DEPENDS= libvga.so:graphics/svgalib
USES= gmake jpeg tar:tgz
ALL_TARGET= seejpeg
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/seejpeg man/man1/seejpeg.1.gz
post-extract:
${CHMOD} 0644 ${WRKSRC}/Makefile
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
${SED} "s|-O3|${CFLAGS}|g" ${WRKSRC}/Makefile.prev > ${WRKSRC}/Makefile
.include <bsd.port.mk>