1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/archivers/deco/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

48 lines
1.2 KiB
Makefile

PORTNAME= deco
PORTVERSION= 1.6.4
CATEGORIES= archivers
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to extract various archive file formats
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= peha
GH_PROJECT= deco-archive:archive
GH_TAGNAME= 1.7:archive
RUN_DEPENDS= arc:archivers/arc \
arj:archivers/arj \
cabextract:archivers/cabextract \
dpkg:archivers/dpkg \
lzop:archivers/lzop \
7z:archivers/p7zip \
rpm:archivers/rpm4 \
rzip:archivers/rzip \
unace:archivers/unace \
unrar:archivers/unrar \
zoo:archivers/zoo \
flac:audio/flac
CONFLICTS= deco
post-patch:
@${CP} ${FILESDIR}/extract ${WRKDIR}/${PORTNAME}-archive-1.7/x/"tar\.xz"
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/deco ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
.for i in LICENSE Makefile NEWS README config.mk
${RM} -r ${WRKSRC}/../${PORTNAME}-archive-1.7/${i}
.endfor
@cd ${WRKDIR}/${PORTNAME}-archive-1.7/x/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} +x {} \;
.include <bsd.port.mk>