diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-18 15:20:08 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-18 15:20:08 +0000 |
commit | fb9484107c23892f0180df03dfbe9b2719510b80 (patch) | |
tree | 30a16f92450ec7374f6e0fd6f09f47772b8012bd /comms | |
parent | Update to 1.0.13. (diff) |
Repackage a bit: USE_RC_SUBR with substitutions
Notes
Notes:
svn path=/head/; revision=133586
Diffstat (limited to 'comms')
-rw-r--r-- | comms/ltmdm/Makefile | 11 | ||||
-rw-r--r-- | comms/ltmdm/files/ltmdm.sh.in (renamed from comms/ltmdm/files/ltmdm.sh) | 2 | ||||
-rw-r--r-- | comms/ltmdm/pkg-plist | 3 |
3 files changed, 5 insertions, 11 deletions
diff --git a/comms/ltmdm/Makefile b/comms/ltmdm/Makefile index 91205209817e..07a70d7f4db9 100644 --- a/comms/ltmdm/Makefile +++ b/comms/ltmdm/Makefile @@ -20,7 +20,8 @@ ONLY_FOR_ARCHS= i386 BUILD_WRKSRC= ${WRKSRC}/sys/modules/ltmdm NO_WRKSUBDIR= yes -USE_RC_SUBR= yes +USE_RC_SUBR= ltmdm.sh +SUB_LIST= MAJOR=${LTMDM_DEV_MAJOR} LTMDM_DEV_MAJOR ?= 228 LTMDM_OBJ_VERSION ?= 600 @@ -35,7 +36,8 @@ MAKE_ENV+= WERROR= PORTDOCS= README.TXT README-en.TXT INSTALL.TXT INSTALL-en.TXT SYSDIR?= ${SRC_BASE}/sys -RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} MAJOR=${LTMDM_DEV_MAJOR} +PLIST_FILES= %%DATADIR%%/ltmdm.ko +PLIST_DIRS= %%DATADIR%% pre-fetch: .if !exists(${SYSDIR}/Makefile) @@ -52,11 +54,6 @@ pre-fetch: @${ECHO} "*************************************************"; .endif -post-extract: - @ [ -f ${WRKSRC}/ltmdm.sh ] && ${RM} -f ${WRKSRC}/ltmdm.sh - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - < ${FILESDIR}/ltmdm.sh > ${WRKSRC}/ltmdm.sh - do-install: @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${WRKSRC}/sys/modules/ltmdm/ltmdm.ko ${DATADIR} diff --git a/comms/ltmdm/files/ltmdm.sh b/comms/ltmdm/files/ltmdm.sh.in index 7614df9692ad..df991fb01b89 100644 --- a/comms/ltmdm/files/ltmdm.sh +++ b/comms/ltmdm/files/ltmdm.sh.in @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD$ +# $FreeBSD: /tmp/pcvs/ports/comms/ltmdm/files/Attic/ltmdm.sh.in,v 1.1 2005-04-18 15:20:08 vs Exp $ # PROVIDE: ltmdm # REQUIRE: DAEMON diff --git a/comms/ltmdm/pkg-plist b/comms/ltmdm/pkg-plist index d5930d0a965a..9d70d350f28c 100644 --- a/comms/ltmdm/pkg-plist +++ b/comms/ltmdm/pkg-plist @@ -1,4 +1 @@ @unexec sh %D/etc/rc.d/ltmdm.sh stop || true -etc/rc.d/ltmdm.sh -%%DATADIR%%/ltmdm.ko -@dirrm %%DATADIR%% |