|
Lines 4-25
Link Here
|
| 4 |
PORTNAME= lupe |
4 |
PORTNAME= lupe |
| 5 |
PORTVERSION= 0.08c |
5 |
PORTVERSION= 0.08c |
| 6 |
CATEGORIES= x11 accessibility |
6 |
CATEGORIES= x11 accessibility |
| 7 |
MASTER_SITES= http://www.oersted.co.jp/~yav/soft/ |
7 |
MASTER_SITES= http://www2s.biglobe.ne.jp/~yav/soft/ |
| 8 |
DISTNAME= lupe008c |
8 |
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} |
| 9 |
|
9 |
|
| 10 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
| 11 |
COMMENT= Real-time magnifying glass for X11 |
11 |
COMMENT= Real-time magnifying glass for X11 |
| 12 |
|
12 |
|
| 13 |
WRKSRC= ${WRKDIR}/lupe |
13 |
OPTIONS_DEFINE= DOCS |
| 14 |
USE_IMAKE= yes |
14 |
|
|
|
15 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
| 16 |
|
| 15 |
USE_XORG= x11 xext |
17 |
USE_XORG= x11 xext |
| 16 |
XMKMF= xmkmf |
18 |
GNU_CONFIGURE= yes |
| 17 |
MAN1= lupe.1 |
19 |
|
|
|
20 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 21 |
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lm |
| 22 |
|
| 23 |
MAN1= ${PORTNAME}.1 |
| 24 |
PORTDOCS= ${PORTNAME}.doc |
| 25 |
PLIST_FILES= bin/${PORTNAME} |
| 26 |
|
| 27 |
.include <bsd.port.options.mk> |
| 28 |
|
| 29 |
post-extract: |
| 30 |
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1 |
| 31 |
|
| 32 |
do-build: |
| 33 |
(cd ${WRKSRC} \ |
| 34 |
&& ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} *.c ${LDFLAGS}) |
| 18 |
|
35 |
|
| 19 |
post-install: |
36 |
do-install: |
| 20 |
.if !defined(NOPORTDOCS) |
37 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) |
| 21 |
${MKDIR} ${DOCSDIR} |
38 |
(cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 ${MANPREFIX}/man/man1) |
| 22 |
${INSTALL_MAN} ${WRKSRC}/lupe.doc ${DOCSDIR} |
39 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
40 |
@${MKDIR} ${DOCSDIR} |
| 41 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTNAME}.doc ${DOCSDIR}) |
| 23 |
.endif |
42 |
.endif |
| 24 |
|
43 |
|
| 25 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |