6a0bbfc676
their files via a custom do-install target.
30 lines
636 B
Makefile
30 lines
636 B
Makefile
# $NetBSD: Makefile,v 1.11 2008/03/02 03:48:37 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= unzoo.c
|
|
PKGNAME= unzoo-4.4
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= # no dist site available
|
|
EXTRACT_SUFX= # empty
|
|
|
|
MAINTAINER= cjep@NetBSD.org
|
|
COMMENT= Extract zoo archives
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_CONFIGURE= YES
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-extract:
|
|
cd ${DISTDIR} && ${CP} ${DISTFILES} ${WRKSRC}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -DSYS_IS_UNIX -DSYS_HAS_MKDIR -o unzoo unzoo.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unzoo ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|