2011-09-16 04:26:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2011/09/16 08:26:09 espie Exp $
|
initial import of deco 1.6
Deco is a Unix script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
ok sthen@
2009-01-22 21:30:20 -05:00
|
|
|
|
|
|
|
COMMENT= extract various archive file formats
|
|
|
|
|
2010-04-20 06:25:09 -04:00
|
|
|
V= 1.6.1.1
|
|
|
|
ARCHIVE_V= 1.5.1
|
initial import of deco 1.6
Deco is a Unix script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
ok sthen@
2009-01-22 21:30:20 -05:00
|
|
|
DISTNAME= deco-${V}
|
2010-07-11 11:57:46 -04:00
|
|
|
PKGNAME= deco-archive-${V}
|
initial import of deco 1.6
Deco is a Unix script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
ok sthen@
2009-01-22 21:30:20 -05:00
|
|
|
|
|
|
|
CATEGORIES= archivers
|
|
|
|
|
|
|
|
HOMEPAGE= http://hartlich.com/deco/
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-09-16 04:26:09 -04:00
|
|
|
REVISION = 1
|
initial import of deco 1.6
Deco is a Unix script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
ok sthen@
2009-01-22 21:30:20 -05:00
|
|
|
WANTLIB= c
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/
|
|
|
|
MASTER_SITES0= ${HOMEPAGE}/archive/download/
|
|
|
|
|
|
|
|
ARCHIVE_DISTFILE= deco-archive-${ARCHIVE_V}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${ARCHIVE_DISTFILE}:0
|
|
|
|
|
|
|
|
DECO= ${WRKDIR}/${DISTNAME}
|
|
|
|
ARCHIVE= ${WRKDIR}/deco-archive-${ARCHIVE_V}
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
RUN_DEPENDS= archivers/arc \
|
|
|
|
archivers/bzip2 \
|
|
|
|
archivers/cabextract \
|
|
|
|
archivers/p7zip \
|
|
|
|
archivers/lzop \
|
|
|
|
archivers/rzip \
|
|
|
|
archivers/unzip \
|
|
|
|
archivers/zoo \
|
|
|
|
audio/flac \
|
|
|
|
rpm2cpio-*|rpm-*:converters/rpm2cpio
|
initial import of deco 1.6
Deco is a Unix script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
ok sthen@
2009-01-22 21:30:20 -05:00
|
|
|
|
2009-01-29 05:28:06 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -D_BSD_SOURCE"
|
initial import of deco 1.6
Deco is a Unix script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
ok sthen@
2009-01-22 21:30:20 -05:00
|
|
|
|
2010-12-30 06:11:41 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
initial import of deco 1.6
Deco is a Unix script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
ok sthen@
2009-01-22 21:30:20 -05:00
|
|
|
do-build:
|
|
|
|
cd ${DECO} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} -f ${MAKE_FILE}
|
|
|
|
cd ${ARCHIVE} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
|
|
|
|
${MAKE_FLAGS} -f ${MAKE_FILE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/deco
|
|
|
|
${INSTALL_PROGRAM} ${DECO}/deco ${PREFIX}/bin
|
|
|
|
.for i in CREDITS LICENSE Makefile NEWS README config.mk
|
|
|
|
rm -f ${ARCHIVE}/${i}
|
|
|
|
.endfor
|
|
|
|
cd ${ARCHIVE} && cp -R * ${PREFIX}/share/deco
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|