mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
# Created by: Paul Dlug <paul@aps.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= radmind
|
|
PORTVERSION= 1.14.1
|
|
PORTREVISION= 2014052201
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= mikeg@bsd-box.net
|
|
COMMENT= Utility for administering filesystem changes
|
|
|
|
LICENSE= Michigan
|
|
LICENSE_NAME= University of Michigan License
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
USE_OPENSSL= yes
|
|
USE_RC_SUBR= radmind
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-radminddir=${RADMIND_BASE_DIR}
|
|
|
|
RADMINUSER= radmind
|
|
USERS= ${RADMINUSER}
|
|
GROUPS= ${RADMINUSER}
|
|
RADMIND_BASE_DIR?= /var/radmind
|
|
|
|
SUB_LIST= RADMIND_BASE_DIR=${RADMIND_BASE_DIR} RADMINUSER=${RADMINUSER}
|
|
PLIST_SUB= RADMIND_BASE_DIR=${RADMIND_BASE_DIR:S@/@@} RADMINUSER=${RADMINUSER}
|
|
SUB_FILES+= pkg-install pkg-message
|
|
|
|
DOCS= COPYRIGHT README SPEC
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
IGNORE_TIMESTAMPS_DESC= Add '-t' option to fsdiff
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
# Ugly hack to remove generated man pages
|
|
${RM} -rf ${WRKSRC}/tmp
|
|
|
|
# Port's Docs (Copyright & wire protocol info)
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/cert
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/client
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/command
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/file
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/postapply
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/preapply
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/special
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp/file
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/tmp/transcript
|
|
${MKDIR} ${STAGEDIR}${RADMIND_BASE_DIR}/transcript
|
|
${CP} ${FILESDIR}/config.sample ${STAGEDIR}${RADMIND_BASE_DIR}/config.sample
|
|
|
|
.include <bsd.port.mk>
|