1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/deskutils/xchm/Makefile
Ruslan Makhmatkhanov 35ad4d9b42 - update to 1.21
- take maintainership
- trim Makefile header
- move LICENSE into proper block
- remove shlib version from LIB_DEPENDS

changelog:
Version 1.21 updates the Polish and Russian translations,
and fixes a fonts setup bug.

PR:		173244
Submitted by:	rm (myself)
Approved by:	pav (maintainer, by mail)
Feature safe:	yes
2012-11-12 05:37:20 +00:00

35 lines
699 B
Makefile

# Created by: Pav Lucistnik <pav@oook.cz>
# $FreeBSD$
PORTNAME= xchm
PORTVERSION= 1.21
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/xCHM/${PORTNAME}-${PORTVERSION}
MAINTAINER= rm@FreeBSD.org
COMMENT= Windows HTML Help (.chm) viewer for UNIX
LICENSE= GPLv2
LIB_DEPENDS= chm:${PORTSDIR}/misc/chmlib
GNU_CONFIGURE= yes
USE_WX= 2.6+
WX_UNICODE= yes
WX_CONF_ARGS= absolute
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS+= -I${LOCALBASE}/include
post-patch:
@${REINPLACE_CMD} -e 's|@REZ_COMMAND@||' ${WRKSRC}/src/Makefile.in
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>