1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/seejpeg/Makefile

36 lines
815 B
Makefile

# Created by: Donn Miller <dmmiller@cvzoom.net>
# $FreeBSD$
PORTNAME= seejpeg
PORTVERSION= 1.10
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/graphics/viewers/svga
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A console graphics viewer using the svga console graphics library
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib \
jpeg.11:${PORTSDIR}/graphics/jpeg
ALL_TARGET= seejpeg
MAN1= seejpeg.1
MANCOMPRESSED= yes
PLIST_FILES= bin/seejpeg
USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
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>