f935a609c5
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
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: smartmontools
|
|
# Date created: 12 October 2003
|
|
# Whom: Eduard Martinescu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= smartmontools
|
|
PORTVERSION= 5.37
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= pav@FreeBSD.org
|
|
COMMENT= S.M.A.R.T. disk monitoring tools
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
SUB_FILES= pkg-message
|
|
USE_RC_SUBR= smartd
|
|
|
|
MAN5= smartd.conf.5
|
|
MAN8= smartd.8 smartctl.8
|
|
|
|
OPTIONS= CISS "Support ciss(4) -- requires kernel source tree" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_CISS)
|
|
. if !exists(/sys/dev/ciss/cissio.h)
|
|
IGNORE= built WITH_CISS requires /sys/dev/ciss/cissio.h
|
|
. endif
|
|
CFLAGS+= -I/sys/dev/ciss -I${FILESDIR}
|
|
EXTRA_PATCHES= ${FILESDIR}/ciss-patch
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's| install-initdDATA | |' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|