diff options
author | dinoex <dinoex@FreeBSD.org> | 2006-01-31 14:14:57 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2006-01-31 14:14:57 +0800 |
commit | e827640b1aa78e5e1edcd95278c614d6506930fe (patch) | |
tree | 7bdd5a684865da2d0b637bd0f69b600c290be55a /net/samba | |
parent | efdf58d1157a0f4d03b1aaf8d2f8e246b2b09ae5 (diff) | |
download | freebsd-ports-graphics-e827640b1aa78e5e1edcd95278c614d6506930fe.tar.gz freebsd-ports-graphics-e827640b1aa78e5e1edcd95278c614d6506930fe.tar.zst freebsd-ports-graphics-e827640b1aa78e5e1edcd95278c614d6506930fe.zip |
- substitute PREFIX in rc script
- bump PORTREVISION
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 23ba5eae791..8a4ccd18a1e 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -7,7 +7,7 @@ PORTNAME= samba PORTVERSION= 2.2.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= . old-versions @@ -215,6 +215,8 @@ post-build: pre-build: ${RM} -fr ${WRKSRC}/include/proto.h (cd ${WRKSRC} && make proto) + ${SED} -e 's!%%PREFIX%%!${PREFIX}!' \ + ${FILESDIR}/samba.sh.sample > ${WRKDIR}/samba.sh.sample post-install: .if defined(WITH_WINBIND_NSS) @@ -243,7 +245,7 @@ post-install: .endif @if [ ! -f ${STARTUP_SCRIPT} ]; then \ ${ECHO} "Installing ${STARTUP_SCRIPT} startup file." ; \ - ${INSTALL_SCRIPT} ${FILESDIR}/samba.sh.sample \ + ${INSTALL_SCRIPT} ${WRKDIR}/samba.sh.sample \ ${STARTUP_SCRIPT} ; \ fi @test -d ${SAMBA_SPOOL} || ${MKDIR} ${SAMBA_SPOOL} && ${CHMOD} 1777 ${SAMBA_SPOOL} @@ -252,7 +254,6 @@ post-install: -e 's!%%SAMBA_LOGDIR%%!${SAMBA_LOGDIR}!' \ -e 's!%%SAMBA_CONFDIR%%!${SAMBA_CONFDIR}!' \ -e 's!%%SAMBA_VFSDIR%%!${SAMBA_VFSDIR}!' \ - -e 's!%%PREFIXX%%!${PREFIX}!' \ ${FILESDIR}/smb.conf.default \ > ${SAMPLE_CONFIG} ; \ fi |