1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/japanese/libslang/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

39 lines
885 B
Makefile

# Created by: IWASHITA Yoji <shuna@pop16.odn.ne.jp>
PORTNAME= libslang
PORTVERSION= ${VERSION}.j${JP_VERSION}
PORTREVISION= 1
CATEGORIES= japanese devel
MASTER_SITES= http://www.emaillab.org/mutt/tools/ \
http://my.reset.jp/~iwashita/mutt/distfiles/
DISTNAME= slang-${VERSION}jp${JP_VERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library permits a programmer to develop software
LICENSE= ART10 GPLv2
LICENSE_COMB= dual
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/slang
ALL_TARGET= all elf
INSTALL_TARGET= install-elf
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CONFLICTS= libslang2 libslang-1.*[^j]*
DOCSDIR= ${PREFIX}/share/doc/slang
OPTIONS_DEFINE= DOCS
VERSION= 1.4.5
JP_VERSION= 2
post-install:
(cd ${WRKSRC} && ${INSTALL_DATA} slang-j.doc \
${STAGEDIR}${DOCSDIR})
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libslang.so.[0-9]*
.include <bsd.port.mk>