Lines 6-39
Link Here
|
6 |
# |
6 |
# |
7 |
PORTNAME= lcdtest |
7 |
PORTNAME= lcdtest |
8 |
PORTVERSION= 1.04 |
8 |
PORTVERSION= 1.08 |
9 |
PORTREVISION= 2 |
|
|
10 |
CATEGORIES= graphics |
9 |
CATEGORIES= graphics |
11 |
MASTER_SITES= http://www.brouhaha.com/~eric/software/lcdtest/download/ \ |
10 |
MASTER_SITES= http://www.brouhaha.com/~eric/software/lcdtest/download/ \ |
12 |
CENKES |
11 |
http://www.predatorlabs.net/dl/ |
13 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= rfarmer@predatorlabs.net |
14 |
COMMENT= LCD monitor test pattern generator |
13 |
COMMENT= LCD monitor test pattern generator |
15 |
BUILD_DEPENDS= pngtopnm:${PORTSDIR}/graphics/netpbm |
14 |
BUILD_DEPENDS= pngtopnm:${PORTSDIR}/graphics/netpbm |
16 |
USE_GMAKE= yes |
|
|
17 |
USE_SDL= sdl image |
15 |
USE_SDL= sdl image |
18 |
CFLAGS= -I${LOCALBASE}/include |
16 |
|
19 |
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
17 |
CFLAGS+= -I${LOCALBASE}/include |
20 |
MAKE_ENV= LDFLAGS="${LDFLAGS}" |
18 |
LINKFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
21 |
MAKE_ARGS= -o SDL/SDL.h -o SDL/SDL_image.h |
19 |
|
|
|
20 |
USE_SCONS= yes |
21 |
SCONS_ENV= CFLAGS="${CFLAGS}" LINKFLAGS="${LINKFLAGS}" CC="${CC}" |
22 |
SCONS_ARGS= bindir=${PREFIX}/bin mandir=${PREFIX}/man/man1 |
23 |
|
22 |
PLIST_FILES= bin/lcdtest |
24 |
PLIST_FILES= bin/lcdtest |
23 |
PORTDOCS= README |
25 |
PORTDOCS= README |
24 |
post-patch: |
26 |
MAN1= lcdtest.1 |
25 |
@${REINPLACE_CMD} -e '/^CFLAGS =/s|=|+=|' ${WRKSRC}/Makefile |
|
|
26 |
|
27 |
do-install: |
28 |
@${INSTALL_PROGRAM} ${WRKSRC}/lcdtest ${PREFIX}/bin/ |
29 |
.ifndef NOPORTDOCS |
30 |
@${INSTALL} -d ${DOCSDIR}/ |
31 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/ |
|
|
27 |
post-install: |
28 |
.if !defined(NOPORTDOCS) |
29 |
${MKDIR} ${DOCSDIR} |
30 |
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
32 |
.endif |
31 |
.endif |
33 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |