c121a0b9af
into binary
29 lines
664 B
Makefile
29 lines
664 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2000/06/05 12:36:07 rh Exp $
|
|
#
|
|
|
|
DISTNAME= ${PRGNAME}unix
|
|
PKGNAME= ${PRGNAME}-2.3
|
|
NO_WRKSUBDIR= YES
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ftp://sunsite.unc.edu/pub/packages/TeX/tools/xbin/
|
|
DISTFILES= ${DISTNAME}.c ${PRGNAME}.man
|
|
|
|
MAINTAINER= rh@netbsd.org
|
|
|
|
PRGNAME= xbin
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
.for file in ${DISTFILES}
|
|
${CP} ${DISTDIR}/${file} ${WRKSRC}
|
|
.endfor
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} -DBSD -o ${PRGNAME} ${DISTNAME}.c -lcompat
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PRGNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PRGNAME}.man ${PREFIX}/man/cat1/${PRGNAME}.0
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|