1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/sysutils/modules/Makefile
Pawel Pekala a0fd1717e8 - Don't set --prefix configure argument, it's done automatically
when GNU_CONFIGURE=yes is set and setting it to LOCALBASE will
  break build when LOCALBASE != PREFIX
- Use PREFIX instead of LOCALBASE in --with-version-path argument
  parameter which sets directory path creation for reasons
  mentioned earlier

Reported by:	danfe
2016-08-20 13:23:00 +00:00

31 lines
710 B
Makefile

# Created by: Hokan
# $FreeBSD$
PORTNAME= modules
PORTVERSION= 3.2.10
PORTREVISION= 1
CATEGORIES= sysutils tcl
MASTER_SITES= SF/${PORTNAME}/Modules/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Dynamic modification of a user environment
LICENSE= GPLv2
USES= tcl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-x \
--with-version-path=${PREFIX}/Modules/versions \
--mandir=${MANPREFIX}/man \
--with-tcl-ver=${TCL_VER:S/.//} \
--with-tcl-inc=${TCL_INCLUDEDIR} \
--with-tcl-lib=${LOCALBASE}/lib \
--with-tclx-ver=${TCL_VER:S/.//}
PLIST_SUB= MODULES_VERSION=${PORTVERSION}
post-extract:
${MV} ${WRKSRC}/doc/modulefile.4.in ${WRKSRC}/doc/modulefile.5.in
.include <bsd.port.mk>