- Remove the DESTDIR modifications from individual ports as we have a new,

fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
This commit is contained in:
Gabor Kovesdan 2007-08-04 11:41:30 +00:00
parent 4c9cd257fd
commit 42542fb076
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197075
315 changed files with 721 additions and 737 deletions

View File

@ -18,6 +18,6 @@ PLIST_FILES= bin/9e
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="" HDRS=""
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/9e ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/9e ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -24,9 +24,9 @@ pre-install:
@${CAT} ${FILESDIR}/COPYRIGHT
do-install:
${RM} -f ${PREFIX}/bin/bzip ${TARGETDIR}/bin/bunzip
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${TARGETDIR}/bin/bzip
${LN} -fs ${TARGETDIR}/bin/bzip ${TARGETDIR}/bin/bunzip
${RM} -f ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin/bzip
${LN} -fs ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${MAN1PREFIX}/man/man1/bzip.1
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${MAN1PREFIX}/man/man1/bunzip.1

View File

@ -31,8 +31,8 @@ MAN1= dact.1
INSTALLS_SHLIB= yes
post-patch:
@${REINPLACE_CMD} -e "s|prefix = @prefix@|prefix = ${TARGETDIR}|" \
-e "s|libdir = @libdir@|libdir = ${TARGETDIR}/lib|" \
@${REINPLACE_CMD} -e "s|prefix = @prefix@|prefix = ${PREFIX}|" \
-e "s|libdir = @libdir@|libdir = ${PREFIX}/lib|" \
${WRKSRC}/Makefile.in
pre-install:
@ -40,7 +40,7 @@ pre-install:
@${RM} -f ${WRKSRC}/libdact.a
post-install:
@${CP} -n ${EXAMPLESDIR}/dact.conf ${TARGETDIR}/etc
@${CP} -n ${EXAMPLESDIR}/dact.conf ${PREFIX}/etc
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Docs/dact.txt ${DOCSDIR}

View File

@ -24,7 +24,7 @@ USE_ICONV= yes
USE_PERL5= yes
WRKSRC= ${WRKDIR}/dpkg-${PORTVERSION}
DPKGDIR?= ${DESTDIR}/var/db/dpkg
DPKGDIR?= /var/db/dpkg
PLIST_SUB+= DPKGDIR=${DPKGDIR:C,^/,,}
SUB_FILES= pkg-install pkg-deinstall

View File

@ -19,7 +19,7 @@ PORTDOCS= format.txt
do-install:
.for f in ${PORTNAME} un${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)

View File

@ -25,7 +25,7 @@ do-build:
${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}

View File

@ -26,7 +26,7 @@ post-patch:
${WRKSRC}/src/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/mar.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)

View File

@ -22,8 +22,8 @@ MAN1= mscompress.1 msexpand.1
PLIST_FILES= bin/mscompress bin/msexpand
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mscompress ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/msexpand ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mscompress ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/msexpand ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mscompress.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/msexpand.1 ${MAN1PREFIX}/man/man1

View File

@ -26,7 +26,7 @@ post-patch:
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}

View File

@ -29,6 +29,6 @@ post-patch:
${WRKSRC}/uac_crt.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unace ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/unace ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -31,6 +31,6 @@ pre-patch:
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unalz ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -27,6 +27,6 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o undms undms-1.3.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/undms ${TARGETDIR}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/undms ${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -26,6 +26,6 @@ do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -40,6 +40,6 @@ do-build:
${FILESDIR}/unmakeself.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${PREFIX}/bin
.include <bsd.port.post.mk>

View File

@ -29,6 +29,6 @@ pre-patch:
@${CP} ${DISTDIR}/untar.c ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -39,7 +39,7 @@ do-build:
${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.post.mk>

View File

@ -31,8 +31,8 @@ post-patch:
@${REINPLACE_CMD} 's|CFLAGS= -O2|CFLAGS+=|' ${WRKSRC}/makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/aa ${TARGETDIR}/bin
@${INSTALL_DATA} ${WRKSRC}/aa.ini ${TARGETDIR}/etc/aa.ini.default
@${INSTALL_PROGRAM} ${WRKSRC}/aa ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/aa.ini ${PREFIX}/etc/aa.ini.default
post-install:
.if !defined(NOPORTDOCS)

View File

@ -70,9 +70,9 @@ post-patch:
post-install:
.for f in ${CONFIG}
${INSTALL_DATA} ${WRKSRC}/etc/${f} ${TARGETDIR}/etc/${f}.default
.if !exists(${TARGETDIR}/etc/${f})
${INSTALL_DATA} ${WRKSRC}/etc/${f} ${TARGETDIR}/etc/${f}
${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}.default
.if !exists(${PREFIX}/etc/${f})
${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}
.endif
.endfor

View File

@ -23,6 +23,6 @@ NO_BUILD= yes
PLIST_FILES= bin/weatherspect
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -19,7 +19,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=prefix=${TARGETDIR} mandir=${MANPREFIX}/man \
CONFIGURE_ARGS+=prefix=${PREFIX} mandir=${MANPREFIX}/man \
exampledir=${EXAMPLESDIR}
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -22,7 +22,7 @@ do-build:
@cd ${WRKSRC} && ${MAKE} ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fapg.1 ${MAN1PREFIX}/man/man1
post-install:

View File

@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --without-python
.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+= --with-html-dir="${TARGETDIR}/share/doc"
CONFIGURE_ARGS+= --with-html-dir="${PREFIX}/share/doc"
.endif
post-extract: .SILENT

View File

@ -29,7 +29,7 @@ INSTALLS_ICONS= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
GACUTIL_FLAGS="/package muine /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"
GACUTIL_FLAGS="/package muine /gacdir $(libdir) /root $(libdir)"
GCONF_SCHEMAS= muine.schemas

View File

@ -26,7 +26,7 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
--with-tk=${LOCALBASE}/lib/tk8.4
MAKE_ENV= prefix=${TARGETDIR} exec_prefix=${TARGETDIR}
MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX}
CFLAGS+= -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4 \
-I${LOCALBASE}/include

View File

@ -33,9 +33,9 @@ do-build:
do-install:
.if defined(WITH_SUID)
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.else
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.endif
.include <bsd.port.post.mk>

View File

@ -23,7 +23,7 @@ MAN1= bonnie.1
PLIST_FILES= bin/bonnie
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${TARGETDIR}/bin/bonnie
${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${TARGETDIR}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${PREFIX}/bin/bonnie
${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -21,34 +21,34 @@ post-extract:
${RM} -f ${WRKSRC}/pgms/select
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/unixbench ${TARGETDIR}/bin/
-${MKDIR} ${TARGETDIR}/lib/unixbench
${INSTALL_SCRIPT} ${WRKDIR}/unixbench ${PREFIX}/bin/
-${MKDIR} ${PREFIX}/lib/unixbench
for f in Run ; do \
${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${TARGETDIR}/lib/unixbench/ ; \
${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${PREFIX}/lib/unixbench/ ; \
done
for f in Makefile README ; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${TARGETDIR}/lib/unixbench/ ; \
${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/lib/unixbench/ ; \
done
-${MKDIR} ${TARGETDIR}/lib/unixbench/pgms
-${MKDIR} ${PREFIX}/lib/unixbench/pgms
for f in ${WRKSRC}/pgms/* ; do \
case $$f in \
*.awk|*.sh|*perlbench) \
${INSTALL_SCRIPT} $${f} ${TARGETDIR}/lib/unixbench/pgms/ ;; \
${INSTALL_SCRIPT} $${f} ${PREFIX}/lib/unixbench/pgms/ ;; \
*.logo|*.base) \
${INSTALL_SCRIPT} $${f} ${TARGETDIR}/lib/unixbench/pgms/ ;; \
${INSTALL_SCRIPT} $${f} ${PREFIX}/lib/unixbench/pgms/ ;; \
*.orig|*.rej|*~) \
;;\
*) \
${INSTALL_PROGRAM} $${f} ${TARGETDIR}/lib/unixbench/pgms/ ;; \
${INSTALL_PROGRAM} $${f} ${PREFIX}/lib/unixbench/pgms/ ;; \
esac ; \
done
-${MKDIR} ${TARGETDIR}/lib/unixbench/results
-${MKDIR} ${PREFIX}/lib/unixbench/results
# for f in ${WRKSRC}/results/* ; do \
# ${INSTALL_DATA} $${f} ${TARGETDIR}/lib/unixbench/results/ ; \
# ${INSTALL_DATA} $${f} ${PREFIX}/lib/unixbench/results/ ; \
# done
-${MKDIR} ${TARGETDIR}/lib/unixbench/testdir
-${MKDIR} ${PREFIX}/lib/unixbench/testdir
for f in ${WRKSRC}/testdir/* ; do \
${INSTALL_DATA} $${f} ${TARGETDIR}/lib/unixbench/testdir/ ; \
${INSTALL_DATA} $${f} ${PREFIX}/lib/unixbench/testdir/ ; \
done
.include <bsd.port.mk>

View File

@ -37,6 +37,6 @@ do-build:
cd ${WRKSRC} && ${CXX} main.cpp `${WX_CONFIG} --libs --cxxflags` -I${LOCALBASE}/include ${CFLAGS} -o BBMan
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/BBMan ${TARGETDIR}/bin/BBMan
${INSTALL_PROGRAM} ${WRKSRC}/BBMan ${PREFIX}/bin/BBMan
.include <bsd.port.post.mk>

View File

@ -31,8 +31,8 @@ pre-install:
@${FIND} ${WRKSRC} -name "*.in" -delete
do-install:
${MKDIR} ${TARGETDIR}/share/skel/zh_TW.Big5
${CP} ${WRKSRC}/* ${TARGETDIR}/share/skel/zh_TW.Big5
${MKDIR} ${PREFIX}/share/skel/zh_TW.Big5
${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_TW.Big5
post-install:
@${CAT} ${PKGMESSAGE}

View File

@ -30,8 +30,8 @@ do-build:
do-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${TARGETDIR}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${TARGETDIR}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bg5pdflib.so ${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/test.big5 ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test.big5.pdf ${EXAMPLESDIR}

View File

@ -21,10 +21,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${TARGETDIR}/bin
${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${TARGETDIR}/etc/bg5ps.conf.sample
${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${TARGETDIR}/etc/gb2312-bg5ps.conf.sample
${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${PREFIX}/etc/bg5ps.conf.sample
${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${PREFIX}/etc/gb2312-bg5ps.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}

View File

@ -14,7 +14,7 @@ DISTFILES= # none
MAINTAINER= rafan@FreeBSD.org
COMMENT= Unicode width dirty fix for Big5 font (${LANG} locale)
BASELOCALEDIR= ${DESTDIR}/usr/share/locale
BASELOCALEDIR= /usr/share/locale
LOCALEDIR= ${PREFIX}/share/locale
LANG= zh_TW.UTF-8

View File

@ -26,11 +26,11 @@ PKGMESSAGE= ${WRKSRC}/pkg-message
DICTFILES= cedict pydict moecomp netterm
do-install:
${SED} 's|%%PREFIX%%|${TARGETDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
@${MKDIR} ${TARGETDIR}/lib/dict
${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
@${MKDIR} ${PREFIX}/lib/dict
for f in ${DICTFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${TARGETDIR}/lib/dict; \
${INSTALL_DATA} ${WRKSRC}/$${f}.index ${TARGETDIR}/lib/dict; \
${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${PREFIX}/lib/dict; \
${INSTALL_DATA} ${WRKSRC}/$${f}.index ${PREFIX}/lib/dict; \
done
post-install:

View File

@ -20,14 +20,14 @@ NO_BUILD= yes
STRCMD= /usr/games/strfile
do-install:
@${MKDIR} ${TARGETDIR}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/bsdchat ${TARGETDIR}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/folksong ${TARGETDIR}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/liuyong ${TARGETDIR}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/stephehchow ${TARGETDIR}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/tangshi ${TARGETDIR}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/xiaoxing ${TARGETDIR}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/yijing ${TARGETDIR}/share/games/fortune
@${MKDIR} ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/bsdchat ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/folksong ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/liuyong ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/stephehchow ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/tangshi ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/xiaoxing ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/yijing ${PREFIX}/share/games/fortune
pre-install:
.if !exists(${STRCMD})
@ -36,22 +36,22 @@ pre-install:
.endif
post-install:
@${STRCMD} ${TARGETDIR}/share/games/fortune/bsdchat
@${STRCMD} ${TARGETDIR}/share/games/fortune/folksong
@${STRCMD} ${TARGETDIR}/share/games/fortune/liuyong
@${STRCMD} ${TARGETDIR}/share/games/fortune/stephehchow
@${STRCMD} ${TARGETDIR}/share/games/fortune/tangshi
@${STRCMD} ${TARGETDIR}/share/games/fortune/xiaoxing
@${STRCMD} ${TARGETDIR}/share/games/fortune/yijing
@${STRCMD} ${PREFIX}/share/games/fortune/bsdchat
@${STRCMD} ${PREFIX}/share/games/fortune/folksong
@${STRCMD} ${PREFIX}/share/games/fortune/liuyong
@${STRCMD} ${PREFIX}/share/games/fortune/stephehchow
@${STRCMD} ${PREFIX}/share/games/fortune/tangshi
@${STRCMD} ${PREFIX}/share/games/fortune/xiaoxing
@${STRCMD} ${PREFIX}/share/games/fortune/yijing
@${ECHO_MSG} ""
@${ECHO_MSG} "Usage:"
@${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/bsdchat"
@${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/folksong"
@${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/liuyong"
@${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/stephehchow"
@${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/tangshi"
@${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/xiaoxing"
@${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/yijing"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/bsdchat"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/folksong"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/liuyong"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/stephehchow"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/tangshi"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/xiaoxing"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/yijing"
@${ECHO_MSG} ""
.include <bsd.port.mk>

View File

@ -19,6 +19,6 @@ USE_GCC= 3.2+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
DATADIR= ${TARGETDIR}/share/chewing
DATADIR= ${PREFIX}/share/chewing
.include <bsd.port.mk>

View File

@ -38,7 +38,7 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+=--disable-bimsphone-module \
--disable-static \
--with-conf-dir=${TARGETDIR}/etc/${PORTNAME}
--with-conf-dir=${PREFIX}/etc/${PORTNAME}
# oxim requires qinputcontextplugin.h which only exists in Debian package
CONFIGURE_ARGS+=--disable-qt-immodule
@ -102,12 +102,12 @@ PLIST_SUB+= NLS=""
#.endif
post-patch:
${REINPLACE_CMD} 's|%%PREFIX%%|${TARGETDIR}|' \
${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/src/gtk-immodule/gtkintl.h
post-install:
.if !defined(WITHOUT_GTK2)
@gtk-query-immodules-2.0 > ${TARGETDIR}/etc/gtk-2.0/gtk.immodules
@gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
.endif
@${CAT} ${PKGMESSAGE}
@${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME}

View File

@ -52,7 +52,7 @@ pre-build:
@cd ${WRKSRC}/libtelnet && ${MAKE}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/telnet ${TARGETDIR}/bin/zh-telnet
@${INSTALL_PROGRAM} ${WRKSRC}/telnet ${PREFIX}/bin/zh-telnet
@${INSTALL_MAN} ${WRKSRC}/telnet.1 ${MAN1PREFIX}/man/man1/${MAN1}
.include <bsd.port.post.mk>

View File

@ -27,7 +27,7 @@ BUILD_DEPENDS= xmkmf:${X_IMAKE_PORT}
VFLIB_VERSION= 2.25.6
PLIST_SUB= VFLIB_VERSION=${VFLIB_VERSION}
DATADIR= ${TARGETDIR}/share/VFlib
DATADIR= ${PREFIX}/share/VFlib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-freetype \
--with-freetype-includedir=${LOCALBASE}/include/freetype1/freetype \
@ -49,11 +49,11 @@ post-patch:
post-install:
@(cd ${WRKSRC}/tools; \
${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${TARGETDIR}/bin)
${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin)
@(cd ${WRKSRC}; \
${MKDIR} ${DATADIR}/${VFLIB_VERSION} ;\
${CP} COPYING COPYING.LIB README.txt.JP_EUC \
${DATADIR}/${VFLIB_VERSION})
${MV} ${DATADIR}/${VFLIB_VERSION}/VF.h ${TARGETDIR}/include
${MV} ${DATADIR}/${VFLIB_VERSION}/VF.h ${PREFIX}/include
.include <bsd.port.post.mk>

View File

@ -33,7 +33,7 @@ PLIST_SUB+= NLS="@comment "
.endif
post-install:
gtk-query-immodules-2.0 > ${TARGETDIR}/etc/gtk-2.0/gtk.immodules
gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
.include <bsd.port.pre.mk>

View File

@ -27,7 +27,7 @@ USE_XPM= yes
STRIP=
HAS_CONFIGURE= yes
XEMACS_ARCH= ${MACHINE_ARCH}--freebsd
CONFIGURE_ARGS= ${XEMACS_ARCH} --prefix=${TARGETDIR} \
CONFIGURE_ARGS= ${XEMACS_ARCH} --prefix=${PREFIX} \
--with-mule \
--with-xfs \
--with-clash-detection \
@ -81,21 +81,21 @@ CONFIGURE_ARGS+= --with-xface=no --with-offix=no
post-install:
.for file in b2m ctags etags gnuclient ${DISTNAME}
strip ${TARGETDIR}/bin/${file}
strip ${PREFIX}/bin/${file}
.endfor
# ``make install'' does not set the permissions like pkg_add does.
${CHMOD} 1777 /var/run/emacs/lock
${CHMOD} 755 ${TARGETDIR}/lib/xemacs/site-lisp
${CHMOD} 755 ${TARGETDIR}/share/emacs/site-lisp
${RM} -f ${TARGETDIR}/bin/send-pr
${RM} -f ${TARGETDIR}/lib/xemacs-20.4/lisp/mule/mule-init.el.orig
# Install xemacs20.sh into ${TARGETDIR}/etc/rc.d
@if [ ! -d ${TARGETDIR}/etc/rc.d ]; then ${MKDIR} ${TARGETDIR}/etc/rc.d; fi
${INSTALL_SCRIPT} ${FILESDIR}/xemacs20.sh ${TARGETDIR}/etc/rc.d
${CHMOD} 755 ${PREFIX}/lib/xemacs/site-lisp
${CHMOD} 755 ${PREFIX}/share/emacs/site-lisp
${RM} -f ${PREFIX}/bin/send-pr
${RM} -f ${PREFIX}/lib/xemacs-20.4/lisp/mule/mule-init.el.orig
# Install xemacs20.sh into ${PREFIX}/etc/rc.d
@if [ ! -d ${PREFIX}/etc/rc.d ]; then ${MKDIR} ${PREFIX}/etc/rc.d; fi
${INSTALL_SCRIPT} ${FILESDIR}/xemacs20.sh ${PREFIX}/etc/rc.d
# Install Chinese Big5 related files.
@${MKDIR} ${TARGETDIR}/lib/xemacs-20.4/etc/app-defaults/zh_TW.Big5
@${INSTALL_DATA} ${FILESDIR}/Emacs ${TARGETDIR}/lib/xemacs-20.4/etc/app-defaults/zh_TW.Big5
@${INSTALL_DATA} ${FILESDIR}/sample.emacs ${TARGETDIR}/lib/xemacs-20.4/etc/app-defaults/zh_TW.Big5
@${MKDIR} ${PREFIX}/lib/xemacs-20.4/etc/app-defaults/zh_TW.Big5
@${INSTALL_DATA} ${FILESDIR}/Emacs ${PREFIX}/lib/xemacs-20.4/etc/app-defaults/zh_TW.Big5
@${INSTALL_DATA} ${FILESDIR}/sample.emacs ${PREFIX}/lib/xemacs-20.4/etc/app-defaults/zh_TW.Big5
# Display XIM usages.
@${CAT} ${PKGMESSAGE}

View File

@ -45,6 +45,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-traditional/${i} ${DATADIR}/chinese-traditional
.endfor
${INSTALL_DATA} ${WRKSRC}/dot.xpdfrc ${DATADIR}/chinese-traditional
@${SETENV} PKG_PREFIX=${TARGETDIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -40,7 +40,7 @@ post-patch:
@${REINPLACE_CMD} "s/-O2/${CFLAGS}/g" ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKDIR}/xsim.sh ${TARGETDIR}/bin/xsim
${INSTALL_DATA} ${WRKDIR}/xsim.sh ${PREFIX}/bin/xsim
@${MKDIR} ${DATADIR}/dat
@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat
@${CAT} ${PKGMESSAGE}

View File

@ -30,14 +30,14 @@ SUB_FILES= pkg-message
MAN1= zhcon.1
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${TARGETDIR}/etc,' ${WRKSRC}/doc/zhcon.1.in
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,' ${WRKSRC}/doc/zhcon.1.in
@${REINPLACE_CMD} -Ee 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/display/fbdev.cpp
@${REINPLACE_CMD} -Ee 's,endian,sys/endian,g' ${WRKSRC}/src/display/fblinear4.cpp \
${WRKSRC}/src/display/fblinear8.cpp ${WRKSRC}/src/display/fblinear16.cpp \
${WRKSRC}/src/display/fblinear24.cpp
@${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${TARGETDIR}/lib,' ${WRKSRC}/src/zhcon.conf
@${REINPLACE_CMD} -e 's,"/etc,"${TARGETDIR}/etc,' ${WRKSRC}/src/zhcon.cpp
@${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${TARGETDIR}\3\4,g' \
@${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${PREFIX}/lib,' ${WRKSRC}/src/zhcon.conf
@${REINPLACE_CMD} -e 's,"/etc,"${PREFIX}/etc,' ${WRKSRC}/src/zhcon.cpp
@${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \
-e '/_nl_expand_alias/s,\(0\),\(\),g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.if defined(WITH_BIG5)
@${REINPLACE_CMD} -e '11 s,gb2312,big5,' ${WRKSRC}/src/zhcon.conf

View File

@ -15,7 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= osa@FreeBSD.org
COMMENT= Driver for the Lucent LT Winmodem chipset
DEVDIR= ${DESTDIR}/dev
DEVDIR= /dev
MODULES_WITH_WORLD?= yes
ONLY_FOR_ARCHS= i386
BUILD_WRKSRC= ${WRKSRC}/sys/modules/ltmdm

View File

@ -20,12 +20,12 @@ USE_GMAKE= true
MAN1= yaps.1
post-install:
${INSTALL_DATA} ${WRKSRC}/yaps.rc ${TARGETDIR}/etc/yaps.rc.sample
${INSTALL_MAN} ${WRKSRC}/yaps.1 ${TARGETDIR}/man/man1
${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample
${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${TARGETDIR}/share/doc/yaps
${INSTALL_DATA} ${WRKSRC}/yaps.doc ${TARGETDIR}/share/doc/yaps
${INSTALL_DATA} ${WRKSRC}/yaps.html ${TARGETDIR}/share/doc/yaps
@${MKDIR} ${PREFIX}/share/doc/yaps
${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps
${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps
.endif
.include <bsd.port.mk>

View File

@ -21,7 +21,7 @@ DEFAULT_PGSQL_VER?=74
# can't include <bsd.port.pre.mk> in a slave port
# so set these instead:
LOCALBASE?= ${DESTDIR}/usr/local
LOCALBASE?= /usr/local
SED?= /usr/bin/sed
# Setting/finding PostgreSQL version we want.

View File

@ -32,7 +32,7 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
${SQLRELAY_CONFIGURE_ENV}
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= DBD::SQLRelay.3 SQLRelay::Connection.3 SQLRelay::Cursor.3
.include "${.CURDIR}/../sqlrelay/Makefile.common"

View File

@ -58,7 +58,7 @@ OPTIONS= BZ2 "bzip2 library support" on \
MCRYPT "MCrypt library support" on \
MBSTRING "Multi-byte character-set string support" on
PORT_DBDIR?= ${DESTDIR}/var/db/ports
PORT_DBDIR?= /var/db/ports
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
@ -137,7 +137,7 @@ do-install: install-app install-conf
install-app:
cd ${WRKSRC} ; \
for src in $$( ${FIND} . ! -name .cvsignore ) ; do \
dst=${TARGETDIR}/${MYADMDIR}$${src#.} ; \
dst=${PREFIX}/${MYADMDIR}$${src#.} ; \
if ${TEST} -d $$src ; then \
${MKDIR} $$dst ; \
else \
@ -146,7 +146,7 @@ install-app:
done
install-conf: install-app
cd ${TARGETDIR}/${MYADMDIR} ; \
cd ${PREFIX}/${MYADMDIR} ; \
${CHMOD} 0640 ${CFGFILE}.sample ; \
${CHGRP} ${MYADMGRP} ${CFGFILE}.sample ; \
if ${TEST} ! -f ${CFGFILE} ; then \

View File

@ -58,7 +58,7 @@ OPTIONS= BZ2 "bzip2 library support" on \
MCRYPT "MCrypt library support" on \
MBSTRING "Multi-byte character-set string support" on
PORT_DBDIR?= ${DESTDIR}/var/db/ports
PORT_DBDIR?= /var/db/ports
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
@ -137,7 +137,7 @@ do-install: install-app install-conf
install-app:
cd ${WRKSRC} ; \
for src in $$( ${FIND} . ! -name .cvsignore ) ; do \
dst=${TARGETDIR}/${MYADMDIR}$${src#.} ; \
dst=${PREFIX}/${MYADMDIR}$${src#.} ; \
if ${TEST} -d $$src ; then \
${MKDIR} $$dst ; \
else \
@ -146,7 +146,7 @@ install-app:
done
install-conf: install-app
cd ${TARGETDIR}/${MYADMDIR} ; \
cd ${PREFIX}/${MYADMDIR} ; \
${CHMOD} 0640 ${CFGFILE}.sample ; \
${CHGRP} ${MYADMGRP} ${CFGFILE}.sample ; \
if ${TEST} ! -f ${CFGFILE} ; then \

View File

@ -41,8 +41,8 @@ do-install:
${MKDIR} ${PREFIX}/${PGADMDIR}
${RM} -f ${WRKSRC}/classes/database/Postgres81.php.orig
${CP} -Rp ${WRKSRC}/ ${PREFIX}/${PGADMDIR}/
.if exists(${DESTDIR}${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php)
${CP} -np ${DESTDIR}${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php \
.if exists(${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php)
${CP} -np ${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php \
${PREFIX}/${PGADMDIR}/conf/config.inc.php
.endif
${CP} -np ${PREFIX}/${PGADMDIR}/conf/config.inc.php-dist \

View File

@ -20,7 +20,7 @@ DEFAULT_PGSQL_VER?=81
# can't include <bsd.port.pre.mk> in a slave port
# so set these instead:
LOCALBASE?= ${DESTDIR}/usr/local
LOCALBASE?= /usr/local
SED?= /usr/bin/sed
# Setting/finding PostgreSQL version we want.

View File

@ -18,7 +18,7 @@ DEFAULT_PGSQL_VER?=74
# can't include <bsd.port.pre.mk> in a slave port
# so set these instead:
LOCALBASE?= ${DESTDIR}/usr/local
LOCALBASE?= /usr/local
SED?= /usr/bin/sed
# Setting/finding PostgreSQL version we want.

View File

@ -21,7 +21,7 @@ DEFAULT_PGSQL_VER?=74
# can't include <bsd.port.pre.mk> in a slave port
# so set these instead:
LOCALBASE?= ${DESTDIR}/usr/local
LOCALBASE?= /usr/local
SED?= /usr/bin/sed
# Setting/finding PostgreSQL version we want.

View File

@ -22,7 +22,7 @@ DEFAULT_PGSQL_VER?=74
# can't include <bsd.port.pre.mk> in a slave port
# so set these instead:
LOCALBASE?= ${DESTDIR}/usr/local
LOCALBASE?= /usr/local
SED?= /usr/bin/sed
# Setting/finding PostgreSQL version we want.

View File

@ -23,7 +23,7 @@ PYDISTUTILS_BUILDARGS= --libs="-l${BDB_LIB_NAME}" --berkeley-db=${LOCALBASE}
PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} --berkeley-db=${LOCALBASE}
PORTDOCS= *
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-patch:
${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup.py

View File

@ -20,7 +20,7 @@ USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= DBUtils
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)

View File

@ -30,8 +30,8 @@ do-build:
do-install:
@(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install)
DOCSDIR= ${TARGETDIR}/share/doc/py-psycopg2
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-psycopg2
DOCSDIR= ${PREFIX}/share/doc/py-psycopg2
EXAMPLESDIR= ${PREFIX}/share/examples/py-psycopg2
EXAMPLES= binary.py cursor.py dt.py lastrowid.py notify.py threads.py \
whereareyou.jpg copy_from.py dialtone.py encoding.py \

View File

@ -73,7 +73,7 @@ MAN1= bin_dec_hex.1 cdeftutorial.1 rpntutorial.1 rrd-beginners.1 \
.if !defined(WITHOUT_PERL_MODULE)
MAN3= RRDp.3 RRDs.3
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.endif
post-extract:

View File

@ -36,7 +36,7 @@ MAN1= RRDp.1 RRDs.1 bin_dec_hex.1 rrdcgi.1 rrdcreate.1 rrddump.1 \
cdeftutorial.1 rpntutorial.1 rrdinfo.1 rrdxport.1 rrd-beginners.1 \
rrdfirst.1
MAN3= RRDp.3 RRDs.3
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
OPTIONS= "ISO-8859-2 fonts support" off

View File

@ -27,7 +27,7 @@ post-patch:
@${REINPLACE_CMD} -e "s,/bin/sh,${LOCALBASE}/bin/bash," ${WRKSRC}/todo.sh
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${TARGETDIR}/bin/todo
@${INSTALL_DATA} ${WRKSRC}/.todo ${TARGETDIR}/etc/dot.todo
@${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${PREFIX}/bin/todo
@${INSTALL_DATA} ${WRKSRC}/.todo ${PREFIX}/etc/dot.todo
.include <bsd.port.mk>

View File

@ -27,32 +27,32 @@ do-build:
@cd ${WRKSRC}/afay/ayacc/src/gnat_unix && ${SH} ./README
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/afay/aflex/src/aflex ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/afay/ayacc/src/ayacc ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex.man ${DESTDIR}${PREFIX}/man/man1/aflex.1
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/old_docs/ayacc.manpage ${DESTDIR}${PREFIX}/man/man1/ayacc.1
${INSTALL_PROGRAM} ${WRKSRC}/afay/aflex/src/aflex ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/afay/ayacc/src/ayacc ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex.man ${PREFIX}/man/man1/aflex.1
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/old_docs/ayacc.manpage ${PREFIX}/man/man1/ayacc.1
.if !defined(NOPORTDOCS)
${MKDIR} ${DESTDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/READ_ME ${DESTDIR}${DOCSDIR}/READ_ME.aflex
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex.html ${DESTDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex_user_man.* ${DESTDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/READ_ME ${DESTDIR}${DOCSDIR}/READ_ME.ayacc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/ayacc.html ${DESTDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/ayacc_user_man.tex ${DESTDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/READ_ME ${DOCSDIR}/READ_ME.aflex
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex_user_man.* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/READ_ME ${DOCSDIR}/READ_ME.ayacc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/ayacc.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/ayacc_user_man.tex ${DOCSDIR}
.endif
${MKDIR} ${DESTDIR}${EXAMPLESDIR}
${MKDIR} ${DESTDIR}${EXAMPLESDIR}/ada_parser
${MKDIR} ${DESTDIR}${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/example.l ${DESTDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/test95.l ${DESTDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/afay/ayacc/examples/ada_parser/COMPILE ${DESTDIR}${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/READ.ME ${DESTDIR}${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/ada.y ${DESTDIR}${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/ada_lex.l ${DESTDIR}${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/driver.a ${DESTDIR}${EXAMPLESDIR}/ada_parser
${INSTALL_SCRIPT} ${WRKSRC}/afay/ayacc/examples/calc/COMPILE ${DESTDIR}${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/calc/READ.ME ${DESTDIR}${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/calc/calc* ${DESTDIR}${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/calc/driver.a ${DESTDIR}${EXAMPLESDIR}/calc
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/ada_parser
${MKDIR} ${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/example.l ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/test95.l ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/afay/ayacc/examples/ada_parser/COMPILE ${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/READ.ME ${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/ada.y ${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/ada_lex.l ${EXAMPLESDIR}/ada_parser
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/ada_parser/driver.a ${EXAMPLESDIR}/ada_parser
${INSTALL_SCRIPT} ${WRKSRC}/afay/ayacc/examples/calc/COMPILE ${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/calc/READ.ME ${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/calc/calc* ${EXAMPLESDIR}/calc
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/examples/calc/driver.a ${EXAMPLESDIR}/calc
.include <bsd.port.mk>

View File

@ -27,9 +27,9 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/cbpp ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/cbind.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DESTDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/DOCS ${DESTDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCSDIR}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/DOCS ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -156,7 +156,7 @@ MAN1= git-add.1 \
git-whatchanged.1 \
git-write-tree.1 \
gitk.1
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Git.3
MAN5= gitattributes.5 gitignore.5
MAN7= git.7

View File

@ -38,10 +38,10 @@ PATCHDATE= ${i}
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT=../configure
CONFIGURE_ARGS= --datadir=${TARGETDIR}/share/misc --disable-overwrite \
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
--enable-termcap --enable-bsdpad --enable-getcap \
--enable-colorfgbg --disable-home-terminfo \
--includedir=${TARGETDIR}/include/ncurses \
--includedir=${PREFIX}/include/ncurses \
--with-shared \
--without-curses-h --with-termlib --program-prefix= \
--enable-rpath --disable-root-environ \
@ -67,8 +67,8 @@ BUILD_WRKSRC= ${NOWIDEC_WRKSRC}
INSTALL_WRKSRC= ${NOWIDEC_WRKSRC}
PLIST_SUB+= PORTVERSION=${RELEASE} \
WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,} \
NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,}
WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${PREFIX}/,,} \
NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${PREFIX}/,,}
PORTDOCS= *
PORTEXAMPLES= *

View File

@ -22,10 +22,10 @@ RELEASE= 5.6
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT=../configure
CONFIGURE_ARGS= --datadir=${TARGETDIR}/share/misc --disable-overwrite \
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
--enable-termcap --enable-bsdpad --enable-getcap \
--enable-colorfgbg --disable-home-terminfo \
--includedir=${TARGETDIR}/include/ncurses \
--includedir=${PREFIX}/include/ncurses \
--with-shared \
--without-curses-h --with-termlib --program-prefix= \
--enable-rpath --disable-root-environ \
@ -51,8 +51,8 @@ BUILD_WRKSRC= ${NOWIDEC_WRKSRC}
INSTALL_WRKSRC= ${NOWIDEC_WRKSRC}
PLIST_SUB+= PORTVERSION=${RELEASE} \
WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,} \
NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,}
WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${PREFIX}/,,} \
NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${PREFIX}/,,}
PORTDOCS= *

View File

@ -23,8 +23,8 @@ USE_OCAML_FINDLIB=yes
USE_OCAML_WASH= yes
DOCS= README
DOCSDIR= ${TARGETDIR}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${TARGETDIR}/share/examples/ocaml/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
.include <bsd.port.pre.mk>
@ -36,20 +36,20 @@ post-extract:
post-install:
@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST}
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
@${FIND} ${EXAMPLESDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
# XXX: temporary workaround for non-standard PREFIX
@${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \
>> ${TMPPLIST}

View File

@ -30,8 +30,8 @@ CFLAGS+= -fPIC
MAKE_ENV+= OCAMLMKLIB_FLAGS="-L${LOCALBASE}/lib"
DOCS= README TODO
DOCSDIR= ${TARGETDIR}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${TARGETDIR}/share/examples/ocaml/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
.include <bsd.port.pre.mk>
@ -53,20 +53,20 @@ post-extract:
post-install:
@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST}
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
@${FIND} ${EXAMPLESDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
# XXX: temporary workaround for non-standard PREFIX
@${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \
>> ${TMPPLIST}

View File

@ -23,8 +23,8 @@ USE_OCAML_FINDLIB=yes
USE_OCAML_WASH= yes
DOCS= README
DOCSDIR= ${TARGETDIR}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${TARGETDIR}/share/examples/ocaml/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
.include <bsd.port.pre.mk>
@ -36,20 +36,20 @@ post-extract:
post-install:
@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST}
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
@${FIND} ${EXAMPLESDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
# XXX: temporary workaround for non-standard PREFIX
@${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \
>> ${TMPPLIST}

View File

@ -23,8 +23,8 @@ USE_OCAML_FINDLIB=yes
USE_OCAML_WASH= yes
DOCS= README
DOCSDIR= ${TARGETDIR}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${TARGETDIR}/share/examples/ocaml/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
.include <bsd.port.pre.mk>
@ -36,20 +36,20 @@ post-extract:
post-install:
@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST}
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
@${FIND} ${EXAMPLESDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ ! -type d | \
${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \
${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
# XXX: temporary workaround for non-standard PREFIX
@${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \
>> ${TMPPLIST}

View File

@ -16,7 +16,7 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Project Environment determination
PERL_CONFIGURE= yes
CONFIGURE_ENV+= DIRPROJECT_PREFIX=${TARGETDIR}
CONFIGURE_ENV+= DIRPROJECT_PREFIX=${PREFIX}
MAN1= project_bin.1 project_dir.1
MAN3= Dir::Project.3

View File

@ -30,6 +30,6 @@ IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
post-install:
@cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \
's,^,${MAN3PREFIX:S,^${TARGETDIR}/,,}/man/man3/,' >> ${TMPPLIST}
's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST}
.include <bsd.port.post.mk>

View File

@ -54,7 +54,7 @@ USE_PERL5= yes
INSTALLS_SHLIB= yes
INSTALL_TARGET= pure_install
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= SDL.3 \
SDL::App.3 \
SDL::Cdrom.3 \

View File

@ -45,11 +45,11 @@ MAN3= pcre.3 pcre_compile.3 pcre_compile2.3 pcre_config.3 \
pcreperform.3 pcreposix.3 pcresample.3 pcrestack.3
post-install:
@${STRIP_CMD} ${DESTDIR}${PREFIX}/bin/pcregrep ${DESTDIR}${PREFIX}/bin/pcretest
@${STRIP_CMD} ${PREFIX}/bin/pcregrep ${PREFIX}/bin/pcretest
.if !defined(NOPORTDOCS)
@${MKDIR} ${DESTDIR}${DOCSDIR} ${DESTDIR}${DOCSDIR}/html
@cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog NEWS LICENCE doc/*.txt ${DESTDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DESTDIR}${DOCSDIR}/html
@${MKDIR} ${DOCSDIR} ${DOCSDIR}/html
@cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog NEWS LICENCE doc/*.txt ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}/html
.endif
.include <bsd.port.mk>

View File

@ -24,7 +24,7 @@ SUB_FILES= pkg-message
REINPLACE_ARGS= -i ""
ONLY_FOR_ARCHS= i386
PLAN9= ${TARGETDIR}/plan9
PLAN9= ${PREFIX}/plan9
MANPREFIX= ${PLAN9}
MAN1= 9term.1 acmeevent.1 ascii.1 acme.1 9p.1 basename.1 cal.1 \
@ -109,14 +109,14 @@ post-build:
${FIND} plan9 -type f \
-a ! -path "plan9/man/man[0-9]/*.[0-9]*"; \
for D in ${EMPTY_DIRS}; do \
${ECHO_CMD} "@exec ${MKDIR} ${TARGETDIR}/$${D}"; \
${ECHO_CMD} "@exec ${MKDIR} ${PREFIX}/$${D}"; \
done; \
${FIND} plan9 -type d | ${SORT} -r \
| ${SED} -e 's|^|@dirrm |'; \
) > ${PLIST}
do-install:
${CP} -rp ${WRKSRC} ${TARGETDIR}
${CP} -rp ${WRKSRC} ${PREFIX}
post-install:
cd ${PLAN9} && \

View File

@ -37,6 +37,6 @@ PYCHEETAH_EGG= Cheetah-${CHEETAHVER}-py${PYTHON_VERSION:S/^python//}-${OSINFOS}.
.include <bsd.port.pre.mk>
OSRELEASE!= ${DESTDIR}/usr/bin/uname -r
OSRELEASE!= /usr/bin/uname -r
.include <bsd.port.post.mk>

View File

@ -19,7 +19,7 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= gdata.py
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.if !defined(NOPORTEXAMPLES)
post-install:

View File

@ -54,6 +54,6 @@ post-install:
.include <bsd.port.pre.mk>
OSRELEASE!= ${DESTDIR}/usr/bin/uname -r
OSRELEASE!= /usr/bin/uname -r
.include <bsd.port.post.mk>

View File

@ -19,7 +19,7 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pynotifier
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}

View File

@ -21,6 +21,6 @@ post-patch:
${REINPLACE_CMD} -e 's,^#!/usr/bin/python,#!${PYTHON_CMD},' ${WRKSRC}/ppserver.py
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/ppserver.py ${TARGETDIR}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/ppserver.py ${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -39,6 +39,6 @@ PYPROTOCOLS_VER?= 1.0a0
.include <bsd.port.pre.mk>
OSRELEASE!= ${DESTDIR}/usr/bin/uname -r
OSRELEASE!= /usr/bin/uname -r
.include <bsd.port.post.mk>

View File

@ -20,7 +20,7 @@ RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
USE_PYTHON= yes
USE_PYDISTUTILS= yes
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.if !defined(NOPORTEXANPLES)
post-install:

View File

@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4
USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
DOCSDIR= ${TARGETDIR}/share/doc/py-qt4-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-qt4-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)

View File

@ -45,7 +45,7 @@ post-extract:
.include <bsd.port.pre.mk>
OSRELEASE!= ${DESTDIR}/usr/bin/uname -r
OSRELEASE!= /usr/bin/uname -r
PYPROTOCOLS_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-protocols-devel/Makefile -V PYPROTOCOLS_EGG
.include <bsd.port.post.mk>

View File

@ -27,7 +27,7 @@ OSINFOS= ${OPSYS:L}-${OSRELEASE}-${ARCH}
PLIST_SUB+= PYSIMPLEJSON_EGG=${PYSIMPLEJSON_EGG}
.if !defined(NOPORTDOCS)
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
.endif

View File

@ -25,9 +25,9 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.if !defined(NOPORTDOCS)
PORTDOCS= *
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
.endif
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.include <bsd.port.pre.mk>

View File

@ -39,6 +39,6 @@ PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
.include <bsd.port.pre.mk>
OSRELEASE!= ${DESTDIR}/usr/bin/uname -r
OSRELEASE!= /usr/bin/uname -r
.include <bsd.port.post.mk>

View File

@ -39,6 +39,6 @@ PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
.include <bsd.port.pre.mk>
OSRELEASE!= ${DESTDIR}/usr/bin/uname -r
OSRELEASE!= /usr/bin/uname -r
.include <bsd.port.post.mk>

View File

@ -29,6 +29,6 @@ do-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${TARGETDIR}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -30,6 +30,6 @@ do-patch:
${REINPLACE_CMD} -e s,/usr/bin/python,${PYTHON_CMD}, ${WRKDIR}/${DISTFILES}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${TARGETDIR}/bin/pythontidy
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${PREFIX}/bin/pythontidy
.include <bsd.port.mk>

View File

@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4
USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
DOCSDIR= ${TARGETDIR}/share/doc/py-qt4-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-qt4-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)

View File

@ -20,8 +20,8 @@ MAKEFILE= makefile
MAN1= robodoc.1 robohdrs.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Source/robodoc ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/Source/robohdrs ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/Source/robodoc ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/Source/robohdrs ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/Docs/robodoc.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/Docs/robohdrs.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)

View File

@ -26,12 +26,12 @@ INSTALL_TARGET= site-install
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DESTDIR}${RUBY_MODDOCDIR}
${MKDIR} ${RUBY_MODDOCDIR}
cd ${WRKSRC}/doc; \
${FIND} . | ${CPIO} -pdmv ${DESTDIR}${RUBY_MODDOCDIR}
${CHMOD} -R ugo+rX,ugo-w ${DESTDIR}${RUBY_MODDOCDIR}
${MKDIR} ${DESTDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${RUBY_MODEXAMPLESDIR}
${CHMOD} ugo+x ${DESTDIR}${RUBY_MODEXAMPLESDIR}/example-*.rb
${FIND} . | ${CPIO} -pdmv ${RUBY_MODDOCDIR}
${CHMOD} -R ugo+rX,ugo-w ${RUBY_MODDOCDIR}
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}
${CHMOD} ugo+x ${RUBY_MODEXAMPLESDIR}/example-*.rb
.endif # !defined(NOPORTDOCS)
.include <bsd.port.post.mk>

View File

@ -82,19 +82,19 @@ pre-fetch:
.endif
do-install:
@${MKDIR} ${TARGETDIR}/share/xsl/${PORTNAME}
${CP} ${WRKSRC}/simian.xsl ${TARGETDIR}/share/xsl/${PORTNAME}
@${MKDIR} ${TARGETDIR}/simian
@${MKDIR} ${TARGETDIR}/simian/bin
@${MKDIR} ${PREFIX}/share/xsl/${PORTNAME}
${CP} ${WRKSRC}/simian.xsl ${PREFIX}/share/xsl/${PORTNAME}
@${MKDIR} ${PREFIX}/simian
@${MKDIR} ${PREFIX}/simian/bin
.if !defined(WITHOUT_JAVA)
${CP} ${WRKSRC}/bin/simian-${PORTVERSION}.jar ${TARGETDIR}/simian/bin
${CP} ${WRKSRC}/bin/simian-${PORTVERSION}.jar ${PREFIX}/simian/bin
.endif
.if defined(WITH_MONO)
${CP} ${WRKSRC}/bin/*.dll ${TARGETDIR}/simian/bin
${CP} ${WRKSRC}/bin/simian-${PORTVERSION}.exe ${TARGETDIR}/simian/bin
${CP} ${WRKSRC}/bin/*.dll ${PREFIX}/simian/bin
${CP} ${WRKSRC}/bin/simian-${PORTVERSION}.exe ${PREFIX}/simian/bin
.endif
${CP} ${WRKSRC}/simian ${TARGETDIR}/bin/simian
${CHMOD} a+x ${TARGETDIR}/bin/simian
${CP} ${WRKSRC}/simian ${PREFIX}/bin/simian
${CHMOD} a+x ${PREFIX}/bin/simian
.if !defined(NOPORTDOCS)
cd ${WRKSRC} \
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \

View File

@ -98,7 +98,7 @@ IGNORE= subversion\'s Perl bindings need perl 5.8.0 or greater. Upgrade your per
SWIG_BINDINGS+= yes
USE_PERL5= yes
PLIST_SUB+= WITH_PERL=""
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= SVN::Base.3 \
SVN::Client.3 \
SVN::Core.3 \

View File

@ -98,7 +98,7 @@ IGNORE= subversion\'s Perl bindings need perl 5.8.0 or greater. Upgrade your per
SWIG_BINDINGS+= yes
USE_PERL5= yes
PLIST_SUB+= WITH_PERL=""
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= SVN::Base.3 \
SVN::Client.3 \
SVN::Core.3 \

View File

@ -98,7 +98,7 @@ IGNORE= subversion\'s Perl bindings need perl 5.8.0 or greater. Upgrade your per
SWIG_BINDINGS+= yes
USE_PERL5= yes
PLIST_SUB+= WITH_PERL=""
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= SVN::Base.3 \
SVN::Client.3 \
SVN::Core.3 \

View File

@ -98,7 +98,7 @@ IGNORE= subversion\'s Perl bindings need perl 5.8.0 or greater. Upgrade your per
SWIG_BINDINGS+= yes
USE_PERL5= yes
PLIST_SUB+= WITH_PERL=""
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= SVN::Base.3 \
SVN::Client.3 \
SVN::Core.3 \

View File

@ -19,7 +19,7 @@ COMMENT= Thread extension for Tcl
USE_TCL= 84+
USE_TCL_THREADS= yes
DOCSDIR= ${TARGETDIR}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
GNU_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/thread${PORTVERSION}

View File

@ -20,12 +20,12 @@ USE_RC_SUBR= ez-ipupdate.sh
GNU_CONFIGURE= yes
post-install:
${MKDIR} ${TARGETDIR}/share/examples/${PORTNAME}
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
for f in ${WRKSRC}/example-*.conf; \
do \
${INSTALL_DATA} $$f ${TARGETDIR}/share/examples/${PORTNAME}/; \
${INSTALL_DATA} $$f ${PREFIX}/share/examples/${PORTNAME}/; \
done
${INSTALL_DATA} ${WRKSRC}/example.conf \
${TARGETDIR}/etc/${PORTNAME}.conf.sample
${PREFIX}/etc/${PORTNAME}.conf.sample
.include <bsd.port.mk>

View File

@ -18,7 +18,7 @@ COMMENT= This module provides access to the libidn library
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libidn=${TARGETDIR}/lib --with-libidn-inc=${TARGETDIR}/include
CONFIGURE_ARGS+= --with-libidn=${PREFIX}/lib --with-libidn-inc=${PREFIX}/include
MAN3= Net::LibIDN.3

Some files were not shown because too many files have changed in this diff Show More