pkgsrc/archivers/arj/Makefile
cjep f2ad5c061e Initial import of arj-3.10b into the NetBSD packages collection
as archivers/arj.

This package is a GPL implementation of ARJ v2.7x for DOS on UNIX and
UNIX-like systems. It is assumed that the user is familiar with ARJ
operation on DOS before using this package.

New ARJ features on UNIX and UNIX-like platforms:
 - Support for symbolic and hard links
 - Archiving of special entities: pipes and devices
 - Support for UID/GID storage in a variety of methods
 - World's smallest native self-extracting modules
 - Outstanding interoperability with ARJ for DOS, Windows and OS/2 Warp

From the FreeBSD port collections (with several changes by me).
2002-12-13 15:39:28 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2002/12/13 15:39:28 cjep Exp $
# FreeBSD Id: ports/archivers/arj/Makefile,v 1.2 2002/09/17 05:17:29 ijliao Exp
DISTNAME= arj-3.10b
CATEGORIES= archivers
MASTER_SITES= http://testcase.newmail.ru/files/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://arj.sourceforge.net/
COMMENT= Open-source ARJ
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ${WRKSRC}/gnu/configure
MAKEFILE= makefile.gnu
ARJ_DOCSDIR= ${PREFIX}/share/doc/arj
pre-configure:
${CP} -f ${WRKSRC}/environ.c ${WRKSRC}/environ.c.1
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/environ.c.1 \
> ${WRKSRC}/environ.c
${RM} -f ${WRKSRC}/environ.c.1
cd ${WRKSRC}/gnu; ${AUTOCONF}
pre-build:
(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} -f ${MAKEFILE} ${MAKE_FLAGS} ${MAKE_ARGS} prepare)
post-install:
${INSTALL_DATA_DIR} ${ARJ_DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${WRKSRC}/doc/debug.txt \
${ARJ_DOCSDIR}
for i in arjl.txt arjs.txt history.txt readme.txt unix.txt; do\
${INSTALL_DATA} ${WRKSRC}/resource/en/$$i ${ARJ_DOCSDIR};\
done
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"