View | Details | Raw Unified | Return to bug 64503
Collapse All | Expand All

(-)devel/argtable/Makefile (-7 / +22 lines)
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>
(-)devel/argtable/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (argtable-2.2.tar.gz) = 35b8948c9f4b81bb4b46dbd2b863e1b6
1
MD5 (argtable-2.3.tar.gz) = f39fbb7b9bce2257344c882323e96619
2
SIZE (argtable-2.2.tar.gz) = 415107
2
SIZE (argtable-2.3.tar.gz) = 399746
(-)devel/argtable/files/patch-Makefile.in (-13 lines)
Lines 1-13 Link Here
1
--- Makefile.in.orig	Wed Dec 17 10:51:08 2003
2
+++ Makefile.in	Wed Dec 17 10:51:31 2003
3
@@ -34,8 +34,8 @@
4
 incldir     = $(prefix)/include
5
 libdir      = $(prefix)/lib
6
 mandir      = $(prefix)/man/man3
7
-docdir      = $(prefix)/share/doc/argtable-2.x
8
-exmdir      = $(prefix)/share/doc/argtable-2.x/example
9
+docdir      = $(prefix)/share/doc/argtable
10
+exmdir      = $(prefix)/share/examples/argtable
11
 
12
 
13
 all:
(-)devel/argtable/pkg-plist (-15 / +17 lines)
Lines 1-17 Link Here
1
include/argtable2.h
1
include/argtable2.h
2
lib/libargtable2.a
2
lib/libargtable2.a
3
%%DOCSDIR%%/argtable2-intro.html
3
%%PORTDOCS%%%%DOCSDIR%%/argtable2-intro.html
4
%%DOCSDIR%%/argtable2-intro.pdf
4
%%PORTDOCS%%%%DOCSDIR%%/argtable2-intro.pdf
5
%%DOCSDIR%%/argtable2-intro.ps
5
%%PORTDOCS%%%%DOCSDIR%%/argtable2-intro.ps
6
%%DOCSDIR%%/argtable2.html
6
%%PORTDOCS%%%%DOCSDIR%%/argtable2.html
7
%%DOCSDIR%%/argtable2.pdf
7
%%PORTDOCS%%%%DOCSDIR%%/argtable2.pdf
8
%%DOCSDIR%%/argtable2.ps
8
%%PORTDOCS%%%%DOCSDIR%%/argtable2.ps
9
@dirrm %%DOCSDIR%%
9
%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile
10
%%EXAMPLESDIR%%/Makefile
10
%%PORTDOCS%%%%EXAMPLESDIR%%/README.txt
11
%%EXAMPLESDIR%%/echo.c
11
%%PORTDOCS%%%%EXAMPLESDIR%%/echo.c
12
%%EXAMPLESDIR%%/ls.c
12
%%PORTDOCS%%%%EXAMPLESDIR%%/ls.c
13
%%EXAMPLESDIR%%/mv.c
13
%%PORTDOCS%%%%EXAMPLESDIR%%/mv.c
14
%%EXAMPLESDIR%%/myprog.c
14
%%PORTDOCS%%%%EXAMPLESDIR%%/myprog.c
15
%%EXAMPLESDIR%%/rm.c
15
%%PORTDOCS%%%%EXAMPLESDIR%%/myprog_C89.c
16
%%EXAMPLESDIR%%/uname.c
16
%%PORTDOCS%%%%EXAMPLESDIR%%/rm.c
17
@dirrm %%EXAMPLESDIR%%
17
%%PORTDOCS%%%%EXAMPLESDIR%%/uname.c
18
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
19
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 64503