pkgsrc/devel/libgetopt/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:17 jlam Exp $
#
DISTNAME= libgetopt-1.4.1
CATEGORIES= pkgtools sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Library for handling --long options
NO_CHECKSUM= YES
USE_LIBTOOL= YES
WRKSRC= ${WRKDIR}/libgetopt
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKEFLAGS+= NETBSD_COMPATIBLE=YES
CFLAGS+= -DREPLACE_GETOPT
.endif
INSTALLATION_DIRS= include lib man/man3
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/getopt_long.? ${WRKSRC}
${CP} ${FILESDIR}/getopt.h ${WRKSRC}
do-build:
cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${COMPILE.c} getopt_long.c
cd ${WRKSRC} && ${LIBTOOL} --mode=link ${LINK.c} -o libgetopt.la getopt_long.lo -version-info 5:1:4 -rpath ${PREFIX}/lib
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libgetopt.la ${PREFIX}/lib/
${INSTALL_DATA} ${WRKSRC}/getopt.h ${PREFIX}/include/
${INSTALL_MAN} ${WRKSRC}/getopt_long.3 ${PREFIX}/man/man3/
.include "../../mk/bsd.pkg.mk"