2010-02-09 07:23:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2010/02/09 12:23:59 jasper Exp $
|
2004-07-03 19:45:37 -04:00
|
|
|
|
2007-09-15 06:14:32 -04:00
|
|
|
COMMENT= command line implementation of the PAR v1.0 specification
|
2004-07-03 19:45:37 -04:00
|
|
|
DISTNAME= par-v1.1
|
2004-12-29 19:47:10 -05:00
|
|
|
PKGNAME= par1cmdline-1.1p0
|
2004-07-03 19:45:37 -04:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=parchive/}
|
|
|
|
|
|
|
|
HOMEPAGE= http://parchive.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2004-11-21 07:50:32 -05:00
|
|
|
WANTLIB= c
|
2004-07-03 19:45:37 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
WRKDIST=${WRKDIR}/par-cmdline
|
|
|
|
|
2007-11-07 15:58:15 -05:00
|
|
|
# gcc 3.3.5 internal compiler error
|
2010-02-09 07:23:59 -05:00
|
|
|
.if ${MACHINE_ARCH:Mmips64*}
|
2007-11-07 15:58:15 -05:00
|
|
|
EXTRA_CFLAGS= -O0
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
|
|
|
|
|
2004-07-03 19:45:37 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/par1cmdline
|
2004-12-29 19:47:10 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin/par1
|
2004-07-03 19:45:37 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/par1cmdline
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|