2005-02-27 19:31:48 +01:00
|
|
|
# New ports collection makefile for: liblzxcomp
|
|
|
|
# Date created: 27 Feb 2005
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= liblzxcomp
|
2005-02-28 13:01:09 +01:00
|
|
|
PORTVERSION= 20020619
|
2005-02-27 19:31:48 +01:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= http://www.speakeasy.org/~russotto/chm/
|
|
|
|
DISTNAME= lzx_compress
|
|
|
|
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
|
|
COMMENT= LZX compression library
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= YES
|
2005-02-27 19:31:48 +01:00
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
|
|
|
|
|
|
|
MAN3= lzxcomp.3
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
|
|
|
.if defined(NOPROFILE)
|
|
|
|
PLIST_SUB+= PROFILE="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PROFILE=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
|
|
|
|
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
|
|
|
|
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} -i '' -e 's|stdint|sys/types|' \
|
|
|
|
${WRKSRC}/lzx_compress.mdoc3 ${WRKSRC}/lzx_layer.c
|
|
|
|
${MV} ${WRKSRC}/lzx_compress.mdoc3 ${WRKSRC}/lzxcomp.3
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|