diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-06-26 02:31:28 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-06-26 02:31:28 +0800 |
commit | 6752abefeb4b7320dac3845b7c710ab124e7386e (patch) | |
tree | ac8b52907e2f42120eae734a4f9ac4ded89007cf /news/suck | |
parent | b5fe6fecf1ca54e9a446868a70a5624222e16c8d (diff) | |
download | freebsd-ports-gnome-6752abefeb4b7320dac3845b7c710ab124e7386e.tar.gz freebsd-ports-gnome-6752abefeb4b7320dac3845b7c710ab124e7386e.tar.zst freebsd-ports-gnome-6752abefeb4b7320dac3845b7c710ab124e7386e.zip |
- PATH to history is now set right by deafult
Diffstat (limited to 'news/suck')
-rw-r--r-- | news/suck/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile index b64c04d5b70f..23870b5929f6 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -7,6 +7,7 @@ PORTNAME= suck PORTVERSION= 4.3.2 +PORTREVISION= 1 CATEGORIES= news MASTER_SITES= http://www.sucknews.org/ @@ -53,9 +54,15 @@ post-patch: ${SED} -e "s=/usr/local/=${LOCALBASE}/=" \ ${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in @${MV} ${WRKSRC}/suck_config.h ${WRKSRC}/suck_config.h.sed +.if defined(NEWSBIN) && !defined(SUCK_WITH_INN) + ${SED} -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ + -e "s=/usr/local/news/lib=${NEWSCTL}=" \ + ${WRKSRC}/suck_config.h.sed > ${WRKSRC}/suck_config.h +.else ${SED} -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \ ${WRKSRC}/suck_config.h.sed > ${WRKSRC}/suck_config.h +.endif .if !defined(NOPORTDOCS) post-install: |