Lines 7-14
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= argtable |
9 |
PORTNAME= argtable |
10 |
PORTVERSION= 2.2 |
10 |
PORTVERSION= 2.3 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= devel |
11 |
CATEGORIES= devel |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 16-28
Link Here
|
16 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= An ANSI C library for parsing GNU style command line arguments |
16 |
COMMENT= An ANSI C library for parsing GNU style command line arguments |
18 |
|
17 |
|
|
|
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}2 |
19 |
|
19 |
USE_GETOPT_LONG= yes |
20 |
USE_GETOPT_LONG= yes |
20 |
USE_GETTEXT= yes |
|
|
21 |
WRKSRC= ${WRKDIR}/argtable2 |
22 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ |
22 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
24 |
LDFLAGS="-L${LOCALBASE}/lib" |
23 |
|
|
|
24 |
MAN3= argtable2.3 |
25 |
|
25 |
|
26 |
MAN3= argtable2.3 |
26 |
do-install: |
|
|
27 |
${INSTALL_DATA} ${WRKSRC}/src/argtable2.h ${PREFIX}/include |
28 |
${INSTALL_DATA} ${WRKSRC}/src/libargtable2.a ${PREFIX}/lib |
29 |
${INSTALL_MAN} ${WRKSRC}/doc/argtable2.3 ${MANPREFIX}/man/man3 |
30 |
.if !defined(NOPORTDOCS) |
31 |
@${MKDIR} ${DOCSDIR} |
32 |
.for file in argtable2-intro.html argtable2-intro.pdf argtable2-intro.ps \ |
33 |
argtable2.html argtable2.pdf argtable2.ps |
34 |
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} |
35 |
.endfor |
36 |
@${MKDIR} ${EXAMPLESDIR} |
37 |
.for file in Makefile README.txt echo.c ls.c mv.c myprog.c myprog_C89.c \ |
38 |
rm.c uname.c |
39 |
${INSTALL_DATA} ${WRKSRC}/example/${file} ${EXAMPLESDIR} |
40 |
.endfor |
41 |
.endif |
27 |
|
42 |
|
28 |
.include <bsd.port.mk> |
43 |
.include <bsd.port.mk> |