diff options
author | krion <krion@FreeBSD.org> | 2004-03-21 01:23:45 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-21 01:23:45 +0800 |
commit | 12be278e6cfde1cda1b496248edac649ae40e7cd (patch) | |
tree | a1db1ae654600d095ad5e2e7cbc0b95cb153f4b4 /devel/argtable/Makefile | |
parent | 004423f7d3fc44d673bd378138ab75b89413f7de (diff) | |
download | freebsd-ports-gnome-12be278e6cfde1cda1b496248edac649ae40e7cd.tar.gz freebsd-ports-gnome-12be278e6cfde1cda1b496248edac649ae40e7cd.tar.zst freebsd-ports-gnome-12be278e6cfde1cda1b496248edac649ae40e7cd.zip |
- Update to version 2.3
PR: ports/64503
Submitted by: Ports Fury
Diffstat (limited to 'devel/argtable/Makefile')
-rw-r--r-- | devel/argtable/Makefile | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/devel/argtable/Makefile b/devel/argtable/Makefile index dd5ff0b974a9..b8d02a5a2595 100644 --- a/devel/argtable/Makefile +++ b/devel/argtable/Makefile @@ -7,8 +7,7 @@ # PORTNAME= argtable -PORTVERSION= 2.2 -PORTREVISION= 1 +PORTVERSION= 2.3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,13 +15,29 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= An ANSI C library for parsing GNU style command line arguments +WRKSRC= ${WRKDIR}/${PORTNAME}2 + USE_GETOPT_LONG= yes -USE_GETTEXT= yes -WRKSRC= ${WRKDIR}/argtable2 GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +MAN3= argtable2.3 -MAN3= argtable2.3 +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/argtable2.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/src/libargtable2.a ${PREFIX}/lib + ${INSTALL_MAN} ${WRKSRC}/doc/argtable2.3 ${MANPREFIX}/man/man3 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in argtable2-intro.html argtable2-intro.pdf argtable2-intro.ps \ + argtable2.html argtable2.pdf argtable2.ps + ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} +.endfor + @${MKDIR} ${EXAMPLESDIR} +.for file in Makefile README.txt echo.c ls.c mv.c myprog.c myprog_C89.c \ + rm.c uname.c + ${INSTALL_DATA} ${WRKSRC}/example/${file} ${EXAMPLESDIR} +.endfor +.endif .include <bsd.port.mk> |