diff options
Diffstat (limited to 'archivers/xbin/Makefile')
-rw-r--r-- | archivers/xbin/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/archivers/xbin/Makefile b/archivers/xbin/Makefile new file mode 100644 index 00000000000..e239ef9563e --- /dev/null +++ b/archivers/xbin/Makefile @@ -0,0 +1,29 @@ +# $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" |