freebsd-ports/comms/tilp2/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

42 lines
934 B
Makefile

# New ports collection makefile for: tilp2
# Date created: 11 October 2006
# Whom: Tijl Coosemans <tijl@ulyssis.org>
#
# $FreeBSD$
#
PORTNAME= tilp2
PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tilp
MAINTAINER= tijl@ulyssis.org
COMMENT= TI Linking Program
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= ticables2.1:${PORTSDIR}/comms/libticables2 \
tifiles2.3:${PORTSDIR}/devel/libtifiles2 \
ticalcs2.4:${PORTSDIR}/comms/libticalcs2 \
ticonv.2:${PORTSDIR}/converters/libticonv
USE_AUTOTOOLS= libtool:15
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -export-dynamic"
MAN1= tilp-2.1
.include <bsd.port.mk>