1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/palm/synce-librapi2/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

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: synce-librapi2
# Date created: 14 June 2003
# Whom: Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
PORTNAME= synce-librapi2
PORTVERSION= 0.9.3
CATEGORIES= palm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= synce
DISTNAME= synce-librapi-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities/libraries to make RAPI calls on WinCE devices
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce
ONLY_FOR_ARCHS= i386 amd64
MAN1= pcp.1 pls.1 pmkdir.1 pmv.1 prm.1 prmdir.1 prun.1 pstatus.1 rapiconfig.1 synce-install-cab.1 synce-remove-program.1 synce-list-programs.1
GNU_CONFIGURE= yes
USE_ICONV= yes
WRKSRC= ${WRKDIR}/librapi-${PORTVERSION}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE} \
--with-libsynce=${LOCALBASE}
USE_LDCONFIG= yes
post-patch:
.for f in synce-install-cab.in synce-remove-program.in
@${REINPLACE_CMD} -e 's+bin/bash+bin/sh+' ${WRKSRC}/script/${f}
.endfor
.include <bsd.port.mk>