aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/seejpeg/Makefile
blob: 54af290b56bd6cdc54f47ff59cc6d20cfda51834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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:${PORTSDIR}/graphics/svgalib \
        libjpeg.so:${PORTSDIR}/graphics/jpeg

USES=       gmake 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>