2000-03-26 17:40:24 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2000/03/26 22:40:24 brad Exp $
|
1997-11-16 16:06:30 -05:00
|
|
|
|
1999-09-06 13:39:40 -04:00
|
|
|
DISTNAME= unrar-2.50
|
1997-11-16 16:06:30 -05:00
|
|
|
CATEGORIES= archivers
|
2000-03-26 17:40:24 -05:00
|
|
|
NEED_VERSION= 1.218
|
2000-03-24 17:11:32 -05:00
|
|
|
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
|
1997-11-16 16:06:30 -05:00
|
|
|
|
1999-09-06 13:39:40 -04:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1997-11-16 16:06:30 -05:00
|
|
|
|
2000-03-12 09:47:04 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "no fee"
|
|
|
|
PERMIT_PACKAGE_FTP= "may not modify"
|
|
|
|
PERMIT_DISTFILES_CDROM= "no fee"
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-03-26 17:40:24 -05:00
|
|
|
FAKE= Yes
|
|
|
|
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1997-11-16 16:06:30 -05:00
|
|
|
|
|
|
|
do-build:
|
2000-03-26 17:40:24 -05:00
|
|
|
cd ${WRKSRC}; ${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar
|
1997-11-16 16:06:30 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-03-26 17:40:24 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar
|
|
|
|
cd ${WRKSRC}; ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}; ${INSTALL_MAN} readme.txt license.txt ${PREFIX}/share/doc/unrar
|
1997-11-16 16:06:30 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|