blob: 1c0ee7c0442b181d21a10855345804d857a5bbc8 (
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
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= lupe
PORTVERSION= 0.08c
PORTREVISION= 1
CATEGORIES= x11 accessibility
MASTER_SITES= http://www2s.biglobe.ne.jp/~yav/soft/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time magnifying glass for X11
WWW= http://www2s.biglobe.ne.jp/~yav/soft/indexe.html
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= xorg
USE_XORG= x11 xext
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lm
PORTDOCS= ${PORTNAME}.doc
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
post-extract:
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1
do-build:
(cd ${WRKSRC} \
&& ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} *.c ${LDFLAGS})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|