View | Details | Raw Unified | Return to bug 213570
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 74-80 index: Link Here
74
74
75
fetchindex: ${INDEXDIR}/${INDEXFILE}.bz2
75
fetchindex: ${INDEXDIR}/${INDEXFILE}.bz2
76
	@bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} && \
76
	@bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} && \
77
	chmod a+r ${INDEXDIR}/${INDEXFILE} && ${RM} -f ${INDEXDIR}/${INDEXFILE}.bz2
77
	chmod a+r ${INDEXDIR}/${INDEXFILE} && ${RM} ${INDEXDIR}/${INDEXFILE}.bz2
78
78
79
${INDEXDIR}/${INDEXFILE}.bz2: .PHONY
79
${INDEXDIR}/${INDEXFILE}.bz2: .PHONY
80
	@${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2
80
	@${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2
(-)Mk/Uses/elixir.mk (-2 / +2 lines)
Lines 81-90 do-build: Link Here
81
	fi
81
	fi
82
.endfor
82
.endfor
83
.endif
83
.endif
84
	@${RM} -f ${WRKSRC}/mix.lock
84
	@${RM} ${WRKSRC}/mix.lock
85
	@cd ${WRKSRC} && ${MIX_COMPILE}
85
	@cd ${WRKSRC} && ${MIX_COMPILE}
86
.for app in ${MIX_EXTRA_APPS}
86
.for app in ${MIX_EXTRA_APPS}
87
	@${RM} -f ${WRKSRC}/${app}/mix.lock
87
	@${RM} ${WRKSRC}/${app}/mix.lock
88
	@cd ${WRKSRC}/${app} && ${MIX_COMPILE}
88
	@cd ${WRKSRC}/${app} && ${MIX_COMPILE}
89
.endfor
89
.endfor
90
.endif # .if !target(do-build)
90
.endif # .if !target(do-build)
(-)Mk/Uses/erlang.mk (-2 / +2 lines)
Lines 86-97 post-patch-erlang: Link Here
86
		${REINPLACE_CMD} -i '' -e "s@\./rebar3@${REBAR3_CMD}@; s@\./rebar@${REBAR_CMD}@" \
86
		${REINPLACE_CMD} -i '' -e "s@\./rebar3@${REBAR3_CMD}@; s@\./rebar@${REBAR_CMD}@" \
87
			${WRKSRC}/rebar.config; \
87
			${WRKSRC}/rebar.config; \
88
	fi
88
	fi
89
	@${RM} -f ${WRKSRC}/src/*.orig ${WRKSRC}/include/*.orig
89
	@${RM} ${WRKSRC}/src/*.orig ${WRKSRC}/include/*.orig
90
90
91
.if !target(do-build)
91
.if !target(do-build)
92
do-build:
92
do-build:
93
# This will cause calls to local rebar and rebar3 to fail; makes it easier to spot them
93
# This will cause calls to local rebar and rebar3 to fail; makes it easier to spot them
94
	@${RM} -f ${WRKSRC}/rebar ${WRKSRC}/rebar3
94
	@${RM} ${WRKSRC}/rebar ${WRKSRC}/rebar3
95
.for target in ${REBAR_TARGETS}
95
.for target in ${REBAR_TARGETS}
96
# Remove rebar.lock every time - it can be created again after each run of rebar3
96
# Remove rebar.lock every time - it can be created again after each run of rebar3
97
	@${RM} ${WRKSRC}/rebar.lock
97
	@${RM} ${WRKSRC}/rebar.lock
(-)Mk/Uses/gem.mk (-1 / +1 lines)
Lines 123-129 do-install: Link Here
123
	${RM} -r ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info/
123
	${RM} -r ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info/
124
	${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f -name '*.so' -exec ${STRIP_CMD} {} +
124
	${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f -name '*.so' -exec ${STRIP_CMD} {} +
125
	${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f \( -name mkmf.log -or -name gem_make.out \) -delete
125
	${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f \( -name mkmf.log -or -name gem_make.out \) -delete
126
	${RM} -rf ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext \
126
	${RM} -r ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext \
127
		${STAGEDIR}${PREFIX}/${CACHE_DIR} 2> /dev/null || ${TRUE}
127
		${STAGEDIR}${PREFIX}/${CACHE_DIR} 2> /dev/null || ${TRUE}
128
	${RMDIR} ${STAGEDIR}${PREFIX}/${EXT_DIR} 2> /dev/null || ${TRUE}
128
	${RMDIR} ${STAGEDIR}${PREFIX}/${EXT_DIR} 2> /dev/null || ${TRUE}
129
.if defined(NOPORTDOCS)
129
.if defined(NOPORTDOCS)
(-)Mk/Uses/gnome.mk (-2 / +2 lines)
Lines 712-718 gnome-post-omf: Link Here
712
.if defined(INSTALLS_ICONS)
712
.if defined(INSTALLS_ICONS)
713
_USES_install+=	690:gnome-post-icons
713
_USES_install+=	690:gnome-post-icons
714
gnome-post-icons:
714
gnome-post-icons:
715
	@${RM} -f ${TMPPLIST}.icons1
715
	@${RM} ${TMPPLIST}.icons1
716
	@for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \
716
	@for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \
717
		${ECHO_CMD} "@rmtry $${i}/icon-theme.cache" \
717
		${ECHO_CMD} "@rmtry $${i}/icon-theme.cache" \
718
			>> ${TMPPLIST}.icons1; \
718
			>> ${TMPPLIST}.icons1; \
Lines 723-729 gnome-post-icons: Link Here
723
	done
723
	done
724
	@if test -f ${TMPPLIST}.icons1; then \
724
	@if test -f ${TMPPLIST}.icons1; then \
725
		${CAT} ${TMPPLIST}.icons1 ${TMPPLIST} > ${TMPPLIST}.icons2; \
725
		${CAT} ${TMPPLIST}.icons1 ${TMPPLIST} > ${TMPPLIST}.icons2; \
726
		${RM} -f ${TMPPLIST}.icons1; \
726
		${RM} ${TMPPLIST}.icons1; \
727
		${MV} -f ${TMPPLIST}.icons2 ${TMPPLIST}; \
727
		${MV} -f ${TMPPLIST}.icons2 ${TMPPLIST}; \
728
	fi
728
	fi
729
.endif
729
.endif
(-)Mk/Uses/gssapi.mk (-1 / +1 lines)
Lines 187-193 debug-krb: Link Here
187
	    ${GSSAPILIBS} ${GSSAPILDFLAGS} ${_DEBUG_KRB_RPATH} \
187
	    ${GSSAPILIBS} ${GSSAPILDFLAGS} ${_DEBUG_KRB_RPATH} \
188
	    /tmp/${.TARGET}.c && \
188
	    /tmp/${.TARGET}.c && \
189
	    ldd /tmp/${.TARGET}.x; \
189
	    ldd /tmp/${.TARGET}.x; \
190
	    rm -f /tmp/${.TARGET}.x
190
	    ${RM} /tmp/${.TARGET}.x
191
	@echo "PREFIX: ${PREFIX}"
191
	@echo "PREFIX: ${PREFIX}"
192
	@echo "GSSAPIBASEDIR: ${GSSAPIBASEDIR}"
192
	@echo "GSSAPIBASEDIR: ${GSSAPIBASEDIR}"
193
	@echo "GSSAPIINCDIR: ${GSSAPIINCDIR}"
193
	@echo "GSSAPIINCDIR: ${GSSAPIINCDIR}"
(-)Mk/Uses/pear.mk (-4 / +4 lines)
Lines 117-124 do-autogenerate-plist: Link Here
117
	@${LN} -sf ${WRKDIR}/package.xml ${WRKSRC}/package.xml
117
	@${LN} -sf ${WRKDIR}/package.xml ${WRKSRC}/package.xml
118
	@cd ${WRKSRC} && ${PEAR} install -n -f -P ${WRKDIR}/inst package.xml > /dev/null 2> /dev/null
118
	@cd ${WRKSRC} && ${PEAR} install -n -f -P ${WRKDIR}/inst package.xml > /dev/null 2> /dev/null
119
.for R in .channels .depdb .depdblock .filemap .lock .registry
119
.for R in .channels .depdb .depdblock .filemap .lock .registry
120
	@${RM} -rf ${WRKDIR}/inst/${PREFIX}/${LPEARDIR}/${R}
120
	@${RM} -r ${WRKDIR}/inst/${PREFIX}/${LPEARDIR}/${R}
121
	@${RM} -rf ${WRKDIR}/inst/${R}
121
	@${RM} -r ${WRKDIR}/inst/${R}
122
.endfor
122
.endfor
123
	@FILES=`cd ${WRKDIR}/inst && ${FIND} . -type f | ${CUT} -c 2- | \
123
	@FILES=`cd ${WRKDIR}/inst && ${FIND} . -type f | ${CUT} -c 2- | \
124
	${GREP} -v -E "^${PREFIX}/"` || exit 0; \
124
	${GREP} -v -E "^${PREFIX}/"` || exit 0; \
Lines 134-141 do-install: Link Here
134
	@cd ${WRKSRC} && ${PEAR} install -n -f -P ${STAGEDIR} package.xml
134
	@cd ${WRKSRC} && ${PEAR} install -n -f -P ${STAGEDIR} package.xml
135
# Clean up orphans re-generated by pear-install
135
# Clean up orphans re-generated by pear-install
136
.for R in .channels .depdb .depdblock .filemap .lock .registry
136
.for R in .channels .depdb .depdblock .filemap .lock .registry
137
	@${RM} -rf ${STAGEDIR}${PREFIX}/${LPEARDIR}/${R}
137
	@${RM} -r ${STAGEDIR}${PREFIX}/${LPEARDIR}/${R}
138
	@${RM} -rf ${STAGEDIR}/${R}
138
	@${RM} -r ${STAGEDIR}/${R}
139
.endfor
139
.endfor
140
.endif
140
.endif
141
141
(-)Mk/Uses/perl5.mk (-1 / +1 lines)
Lines 308-314 fix-perl-things: Link Here
308
# by mistake in their plists.  It is sometime compressed, so use a
308
# by mistake in their plists.  It is sometime compressed, so use a
309
# shell glob for the removal.  Also, remove the directories that
309
# shell glob for the removal.  Also, remove the directories that
310
# contain it to not leave orphans directories around.
310
# contain it to not leave orphans directories around.
311
	@${RM} -f ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod* || :
311
	@${RM} ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod* || :
312
	@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} 2>/dev/null || :
312
	@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} 2>/dev/null || :
313
# Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the base README.pod is
313
# Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the base README.pod is
314
# no longer manified into a README.3, as the README.pod is installed and can be
314
# no longer manified into a README.3, as the README.pod is installed and can be
(-)Mk/Uses/php.mk (-2 / +2 lines)
Lines 245-251 do-install: Link Here
245
		@${INSTALL_DATA} ${WRKSRC}/${header}/*.h \
245
		@${INSTALL_DATA} ${WRKSRC}/${header}/*.h \
246
			${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/${header}
246
			${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/${header}
247
.    endfor
247
.    endfor
248
	@${RM} -f ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h
248
	@${RM} ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h
249
	@${GREP} "#define \(COMPILE\|HAVE\|USE\)_" ${WRKSRC}/config.h \
249
	@${GREP} "#define \(COMPILE\|HAVE\|USE\)_" ${WRKSRC}/config.h \
250
		> ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h
250
		> ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h
251
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/php
251
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/php
Lines 267-273 add-plist-phpext: Link Here
267
		>> ${TMPPLIST}
267
		>> ${TMPPLIST}
268
	@${ECHO_CMD} "@unexec grep -v ext/${PHP_MODNAME}/config.h %D/include/php/ext/php_config.h.orig > %D/include/php/ext/php_config.h || true" \
268
	@${ECHO_CMD} "@unexec grep -v ext/${PHP_MODNAME}/config.h %D/include/php/ext/php_config.h.orig > %D/include/php/ext/php_config.h || true" \
269
		>> ${TMPPLIST}
269
		>> ${TMPPLIST}
270
	@${ECHO_CMD} "@unexec rm %D/include/php/ext/php_config.h.orig" \
270
	@${ECHO_CMD} "@unexec ${RM} %D/include/php/ext/php_config.h.orig" \
271
		>> ${TMPPLIST}
271
		>> ${TMPPLIST}
272
	@${ECHO_CMD} "${PHP_EXT_INI_FILE}" \
272
	@${ECHO_CMD} "${PHP_EXT_INI_FILE}" \
273
		>> ${TMPPLIST}
273
		>> ${TMPPLIST}
(-)Mk/bsd.gecko.mk (-2 / +2 lines)
Lines 488-494 gecko-post-patch: Link Here
488
.if exists(${PKGDEINSTALL_INC})
488
.if exists(${PKGDEINSTALL_INC})
489
	@${MOZCONFIG_SED} < ${PKGDEINSTALL_INC} > ${PKGDEINSTALL}
489
	@${MOZCONFIG_SED} < ${PKGDEINSTALL_INC} > ${PKGDEINSTALL}
490
.endif
490
.endif
491
	@${RM} -f ${MOZCONFIG}
491
	@${RM} ${MOZCONFIG}
492
.if !defined(NOMOZCONFIG)
492
.if !defined(NOMOZCONFIG)
493
	@if [ -e ${PORT_MOZCONFIG} ] ; then \
493
	@if [ -e ${PORT_MOZCONFIG} ] ; then \
494
		${MOZCONFIG_SED} < ${PORT_MOZCONFIG} >> ${MOZCONFIG} ; \
494
		${MOZCONFIG_SED} < ${PORT_MOZCONFIG} >> ${MOZCONFIG} ; \
Lines 579-585 post-install-script: gecko-create-plist Link Here
579
579
580
gecko-create-plist:
580
gecko-create-plist:
581
# Create the plist
581
# Create the plist
582
	${RM} -f ${PLISTF}
582
	${RM} ${PLISTF}
583
.for dir in ${MOZILLA_PLIST_DIRS}
583
.for dir in ${MOZILLA_PLIST_DIRS}
584
	@cd ${STAGEDIR}${PREFIX}/${dir} && ${FIND} -H -s * ! -type d | \
584
	@cd ${STAGEDIR}${PREFIX}/${dir} && ${FIND} -H -s * ! -type d | \
585
		${SED} -e 's|^|${dir}/|' >> ${PLISTF}
585
		${SED} -e 's|^|${dir}/|' >> ${PLISTF}
(-)Mk/bsd.licenses.mk (-6 / +6 lines)
Lines 616-627 ${_LICENSE_COOKIE}: Link Here
616
		"$$(${CAT} ${_LICENSE_FILE})" 21 76
616
		"$$(${CAT} ${_LICENSE_FILE})" 21 76
617
617
618
.		elif ${_LICENSE_COMB} == "dual"
618
.		elif ${_LICENSE_COMB} == "dual"
619
	@${RM} -f ${_LICENSE_ASK_DATA}
619
	@${RM} ${_LICENSE_ASK_DATA}
620
.			for lic in ${_LICENSE_TO_ASK}
620
.			for lic in ${_LICENSE_TO_ASK}
621
	@${ECHO_CMD} "${lic}:${_LICENSE_FILE_${lic}}" >> ${_LICENSE_ASK_DATA}
621
	@${ECHO_CMD} "${lic}:${_LICENSE_FILE_${lic}}" >> ${_LICENSE_ASK_DATA}
622
.			endfor
622
.			endfor
623
	@menu_cmd="${DIALOG} --hline \"This port requires you to accept at least one license\" --menu \"License for ${PKGNAME} (dual)\" 21 70 15"; \
623
	@menu_cmd="${DIALOG} --hline \"This port requires you to accept at least one license\" --menu \"License for ${PKGNAME} (dual)\" 21 70 15"; \
624
	trap '${RM} -f $$tmpfile' EXIT INT TERM; \
624
	trap '${RM} $$tmpfile' EXIT INT TERM; \
625
	tmpfile=$$(mktemp -t portlicenses); \
625
	tmpfile=$$(mktemp -t portlicenses); \
626
	for lic in ${_LICENSE_TO_ASK}; do \
626
	for lic in ${_LICENSE_TO_ASK}; do \
627
		menu_cmd="$${menu_cmd} VIEW_$${lic} \"View the license $${lic}\" USE_$${lic} \"Accept the license $${lic}\""; \
627
		menu_cmd="$${menu_cmd} VIEW_$${lic} \"View the license $${lic}\" USE_$${lic} \"Accept the license $${lic}\""; \
Lines 642-653 ${_LICENSE_COOKIE}: Link Here
642
	done
642
	done
643
643
644
.		elif ${_LICENSE_COMB} == "multi"
644
.		elif ${_LICENSE_COMB} == "multi"
645
	@${RM} -f ${_LICENSE_ASK_DATA}
645
	@${RM} ${_LICENSE_ASK_DATA}
646
.			for lic in ${_LICENSE_TO_ASK}
646
.			for lic in ${_LICENSE_TO_ASK}
647
	@${ECHO_CMD} "${lic}:${_LICENSE_FILE_${lic}}" >> ${_LICENSE_ASK_DATA}
647
	@${ECHO_CMD} "${lic}:${_LICENSE_FILE_${lic}}" >> ${_LICENSE_ASK_DATA}
648
.			endfor
648
.			endfor
649
	@menu_cmd="${DIALOG} --hline \"This port requires you to accept all mentioned licenses\" --menu \"License for ${PKGNAME} (multi)\" 21 70 15"; \
649
	@menu_cmd="${DIALOG} --hline \"This port requires you to accept all mentioned licenses\" --menu \"License for ${PKGNAME} (multi)\" 21 70 15"; \
650
	trap '${RM} -f $$tmpfile' EXIT INT TERM; \
650
	trap '${RM} $$tmpfile' EXIT INT TERM; \
651
	tmpfile=$$(mktemp -t portlicenses); \
651
	tmpfile=$$(mktemp -t portlicenses); \
652
	for lic in ${_LICENSE_TO_ASK}; do \
652
	for lic in ${_LICENSE_TO_ASK}; do \
653
		menu_cmd="$${menu_cmd} VIEW_$${lic} \"View the license $${lic}\""; \
653
		menu_cmd="$${menu_cmd} VIEW_$${lic} \"View the license $${lic}\""; \
Lines 693-704 ${_LICENSE_COOKIE}: Link Here
693
	@${ECHO_MSG}
693
	@${ECHO_MSG}
694
	@exit 1
694
	@exit 1
695
.	endif
695
.	endif
696
	@${RM} -f ${_LICENSE_ASK_DATA}
696
	@${RM} ${_LICENSE_ASK_DATA}
697
.endif
697
.endif
698
698
699
# Create report and catalog
699
# Create report and catalog
700
.if !defined(NO_LICENSES_INSTALL)
700
.if !defined(NO_LICENSES_INSTALL)
701
	@${RM} -f ${_LICENSE_CATALOG_TMP} ${_LICENSE_REPORT_TMP}
701
	@${RM} ${_LICENSE_CATALOG_TMP} ${_LICENSE_REPORT_TMP}
702
.	if ${_LICENSE_COMB} == "single"
702
.	if ${_LICENSE_COMB} == "single"
703
# Catalog
703
# Catalog
704
.		for var in _LICENSE _LICENSE_NAME _LICENSE_PERMS _LICENSE_GROUPS _LICENSE_DISTFILES
704
.		for var in _LICENSE _LICENSE_NAME _LICENSE_PERMS _LICENSE_GROUPS _LICENSE_DISTFILES
(-)Mk/bsd.ocaml.mk (-1 / +1 lines)
Lines 185-191 ocaml-ldconfig: Link Here
185
_USES_install+=	745:ocaml-wash
185
_USES_install+=	745:ocaml-wash
186
ocaml-wash:
186
ocaml-wash:
187
#	If ld.conf is empty
187
#	If ld.conf is empty
188
	@${ECHO_CMD} "@postunexec if [ ! -s %D/${OCAML_LDCONF} ]; then ${RM} -f %D/${OCAML_LDCONF}; fi || true" >> ${TMPPLIST}
188
	@${ECHO_CMD} "@postunexec if [ ! -s %D/${OCAML_LDCONF} ]; then ${RM} %D/${OCAML_LDCONF}; fi || true" >> ${TMPPLIST}
189
. endif
189
. endif
190
.endif
190
.endif
191
191
(-)Mk/bsd.port.mk (-25 / +25 lines)
Lines 3043-3049 fetch-url-list: fetch-url-list-int Link Here
3043
# Extract
3043
# Extract
3044
3044
3045
clean-wrkdir:
3045
clean-wrkdir:
3046
	@${RM} -rf ${WRKDIR}
3046
	@${RM} -r ${WRKDIR}
3047
3047
3048
.if !target(do-extract)
3048
.if !target(do-extract)
3049
do-extract:
3049
do-extract:
Lines 3150-3156 run-autotools-fixup: Link Here
3150
			cmp -s $${f}.fbsd10bak $${f} || \
3150
			cmp -s $${f}.fbsd10bak $${f} || \
3151
			${ECHO_MSG} "===>   FreeBSD 10 autotools fix applied to $${f}"; \
3151
			${ECHO_MSG} "===>   FreeBSD 10 autotools fix applied to $${f}"; \
3152
			${TOUCH} ${TOUCH_FLAGS} -mr $${f}.fbsd10bak $${f} ; \
3152
			${TOUCH} ${TOUCH_FLAGS} -mr $${f}.fbsd10bak $${f} ; \
3153
			${RM} -f $${f}.fbsd10bak ; \
3153
			${RM} $${f}.fbsd10bak ; \
3154
		done
3154
		done
3155
.endif
3155
.endif
3156
.endif
3156
.endif
Lines 3349-3355 do-package: ${TMPPLIST} Link Here
3349
		fi; \
3349
		fi; \
3350
	fi
3350
	fi
3351
	@for cat in ${CATEGORIES}; do \
3351
	@for cat in ${CATEGORIES}; do \
3352
		${RM} -f ${PACKAGES}/$$cat/${PKGNAMEPREFIX}${PORTNAME}*${PKG_SUFX} ; \
3352
		${RM} ${PACKAGES}/$$cat/${PKGNAMEPREFIX}${PORTNAME}*${PKG_SUFX} ; \
3353
	done
3353
	done
3354
	@${MKDIR} ${WRKDIR}/pkg
3354
	@${MKDIR} ${WRKDIR}/pkg
3355
	@if ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \
3355
	@if ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \
Lines 3380-3391 do-package: ${TMPPLIST} Link Here
3380
delete-package:
3380
delete-package:
3381
	@${ECHO_MSG} "===>  Deleting package for ${PKGNAME}"
3381
	@${ECHO_MSG} "===>  Deleting package for ${PKGNAME}"
3382
# When staging, the package may only be in the workdir if not root
3382
# When staging, the package may only be in the workdir if not root
3383
	@${RM} -f ${PKGFILE} ${WRKDIR_PKGFILE} 2>/dev/null || :
3383
	@${RM} ${PKGFILE} ${WRKDIR_PKGFILE} 2>/dev/null || :
3384
.endif
3384
.endif
3385
3385
3386
.if !target(delete-package-list)
3386
.if !target(delete-package-list)
3387
delete-package-list:
3387
delete-package-list:
3388
	@${ECHO_CMD} "[ -f ${PKGFILE} ] && (${ECHO_CMD} deleting ${PKGFILE}; ${RM} -f ${PKGFILE})"
3388
	@${ECHO_CMD} "[ -f ${PKGFILE} ] && (${ECHO_CMD} deleting ${PKGFILE}; ${RM} ${PKGFILE})"
3389
.endif
3389
.endif
3390
3390
3391
# Used by scripts and users to install a package from local repository.
3391
# Used by scripts and users to install a package from local repository.
Lines 3518-3524 security-check: ${TMPPLIST} Link Here
3518
#   4.  startup scripts, in conjunction with 2.
3518
#   4.  startup scripts, in conjunction with 2.
3519
#   5.  world-writable files/dirs
3519
#   5.  world-writable files/dirs
3520
#
3520
#
3521
	-@${RM} -f ${WRKDIR}/.PLIST.setuid ${WRKDIR}/.PLIST.writable ${WRKDIR}/.PLIST.objdump; \
3521
	-@${RM} ${WRKDIR}/.PLIST.setuid ${WRKDIR}/.PLIST.writable ${WRKDIR}/.PLIST.objdump; \
3522
	${AWK} -v prefix='${PREFIX}' ' \
3522
	${AWK} -v prefix='${PREFIX}' ' \
3523
		match($$0, /^@cwd /) { prefix = substr($$0, RSTART + RLENGTH); if (prefix == "/") prefix=""; next; } \
3523
		match($$0, /^@cwd /) { prefix = substr($$0, RSTART + RLENGTH); if (prefix == "/") prefix=""; next; } \
3524
		/^@/ { next; } \
3524
		/^@/ { next; } \
Lines 3621-3633 checkpatch: Link Here
3621
3621
3622
.if !target(reinstall)
3622
.if !target(reinstall)
3623
reinstall:
3623
reinstall:
3624
	@${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3624
	@${RM} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3625
	@cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install
3625
	@cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install
3626
.endif
3626
.endif
3627
3627
3628
.if !target(restage)
3628
.if !target(restage)
3629
restage:
3629
restage:
3630
	@${RM} -rf ${STAGEDIR} ${STAGE_COOKIE} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3630
	@${RM} -r ${STAGEDIR} ${STAGE_COOKIE} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3631
	@cd ${.CURDIR} && ${MAKE} stage
3631
	@cd ${.CURDIR} && ${MAKE} stage
3632
.endif
3632
.endif
3633
3633
Lines 3651-3657 deinstall: Link Here
3651
	else \
3651
	else \
3652
		${ECHO_MSG} "===>   ${PKGBASE} not installed, skipping"; \
3652
		${ECHO_MSG} "===>   ${PKGBASE} not installed, skipping"; \
3653
	fi
3653
	fi
3654
	@${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3654
	@${RM} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3655
.endif
3655
.endif
3656
.endif
3656
.endif
3657
3657
Lines 3680-3686 deinstall-all: Link Here
3680
	else \
3680
	else \
3681
		${ECHO_MSG} "===>   ${PKGORIGIN} not installed, skipping"; \
3681
		${ECHO_MSG} "===>   ${PKGORIGIN} not installed, skipping"; \
3682
	fi; \
3682
	fi; \
3683
	${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3683
	${RM} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
3684
.endif
3684
.endif
3685
.endif
3685
.endif
3686
3686
Lines 3690-3696 deinstall-all: Link Here
3690
do-clean:
3690
do-clean:
3691
	@if [ -d ${WRKDIR} ]; then \
3691
	@if [ -d ${WRKDIR} ]; then \
3692
		if [ -w ${WRKDIR} ]; then \
3692
		if [ -w ${WRKDIR} ]; then \
3693
			${RM} -rf ${WRKDIR}; \
3693
			${RM} -r ${WRKDIR}; \
3694
		else \
3694
		else \
3695
			${ECHO_MSG} "===>   ${WRKDIR} not writable, skipping"; \
3695
			${ECHO_MSG} "===>   ${WRKDIR} not writable, skipping"; \
3696
		fi; \
3696
		fi; \
Lines 3728-3734 delete-distfiles: Link Here
3728
	@(if [ "X${RESTRICTED_FILES}" != "X" -a -d ${_DISTDIR} ]; then \
3728
	@(if [ "X${RESTRICTED_FILES}" != "X" -a -d ${_DISTDIR} ]; then \
3729
		cd ${_DISTDIR}; \
3729
		cd ${_DISTDIR}; \
3730
		for file in ${RESTRICTED_FILES}; do \
3730
		for file in ${RESTRICTED_FILES}; do \
3731
			${RM} -f $${file}; \
3731
			${RM} $${file}; \
3732
			dir=$${file%/*}; \
3732
			dir=$${file%/*}; \
3733
			if [ "$${dir}" != "$${file}" ]; then \
3733
			if [ "$${dir}" != "$${file}" ]; then \
3734
				${RMDIR} -p $${dir} >/dev/null 2>&1 || :; \
3734
				${RMDIR} -p $${dir} >/dev/null 2>&1 || :; \
Lines 3745-3751 delete-distfiles-list: Link Here
3745
	@${ECHO_CMD} "# ${PKGNAME}"
3745
	@${ECHO_CMD} "# ${PKGNAME}"
3746
	@if [ "X${RESTRICTED_FILES}" != "X" ]; then \
3746
	@if [ "X${RESTRICTED_FILES}" != "X" ]; then \
3747
		for file in ${RESTRICTED_FILES}; do \
3747
		for file in ${RESTRICTED_FILES}; do \
3748
			${ECHO_CMD} "[ -f ${_DISTDIR}/$$file ] && (${ECHO_CMD} deleting ${_DISTDIR}/$$file; ${RM} -f ${_DISTDIR}/$$file)"; \
3748
			${ECHO_CMD} "[ -f ${_DISTDIR}/$$file ] && (${ECHO_CMD} deleting ${_DISTDIR}/$$file; ${RM} ${_DISTDIR}/$$file)"; \
3749
			dir=$${file%/*}; \
3749
			dir=$${file%/*}; \
3750
			if [ "$${dir}" != "$${file}" ]; then \
3750
			if [ "$${dir}" != "$${file}" ]; then \
3751
				${ECHO_CMD} "(cd ${_DISTDIR} && ${RMDIR} -p $${dir} 2>/dev/null)"; \
3751
				${ECHO_CMD} "(cd ${_DISTDIR} && ${RMDIR} -p $${dir} 2>/dev/null)"; \
Lines 3848-3854 package-name: Link Here
3848
repackage: pre-repackage package
3848
repackage: pre-repackage package
3849
3849
3850
pre-repackage:
3850
pre-repackage:
3851
	@${RM} -f ${PACKAGE_COOKIE}
3851
	@${RM} ${PACKAGE_COOKIE}
3852
.endif
3852
.endif
3853
3853
3854
# Build a package but don't check the cookie for installation, also don't
3854
# Build a package but don't check the cookie for installation, also don't
Lines 4282-4288 readmes: readme Link Here
4282
4282
4283
.if !target(readme)
4283
.if !target(readme)
4284
readme:
4284
readme:
4285
	@${RM} -f ${.CURDIR}/README.html
4285
	@${RM} ${.CURDIR}/README.html
4286
	@cd ${.CURDIR} && ${MAKE} ${.CURDIR}/README.html
4286
	@cd ${.CURDIR} && ${MAKE} ${.CURDIR}/README.html
4287
.endif
4287
.endif
4288
4288
Lines 4508-4520 compress-man: Link Here
4508
						${GZIP_CMD} $${f} ; \
4508
						${GZIP_CMD} $${f} ; \
4509
						continue ; \
4509
						continue ; \
4510
					fi ; \
4510
					fi ; \
4511
					${RM} -f $${f} ; \
4511
					${RM} $${f} ; \
4512
					(cd $${f%/*}; ${LN} -f $${ref##*/} $${f##*/}.gz) ; \
4512
					(cd $${f%/*}; ${LN} -f $${ref##*/} $${f##*/}.gz) ; \
4513
				done ; \
4513
				done ; \
4514
			done ; \
4514
			done ; \
4515
		${FIND} $$dir -type l \! -name "*.gz" | while read link ; do \
4515
		${FIND} $$dir -type l \! -name "*.gz" | while read link ; do \
4516
				${LN} -sf $$(readlink $$link).gz $$link.gz ;\
4516
				${LN} -sf $$(readlink $$link).gz $$link.gz ;\
4517
				${RM} -f $$link ; \
4517
				${RM} $$link ; \
4518
		done; \
4518
		done; \
4519
	done
4519
	done
4520
.endif
4520
.endif
Lines 4568-4574 fake-pkg: create-manifest Link Here
4568
.else
4568
.else
4569
	@${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST}
4569
	@${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST}
4570
.endif
4570
.endif
4571
	@${RM} -rf ${METADIR}
4571
	@${RM} -r ${METADIR}
4572
.endif
4572
.endif
4573
.endif
4573
.endif
4574
4574
Lines 4766-4774 do-config: Link Here
4766
	(${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1) ; \
4766
	(${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1) ; \
4767
	fi
4767
	fi
4768
	@TMPOPTIONSFILE=$$(mktemp -t portoptions); \
4768
	@TMPOPTIONSFILE=$$(mktemp -t portoptions); \
4769
	trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \
4769
	trap "${RM} $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \
4770
	${SETENV} ${D4P_ENV} ${SH} ${SCRIPTSDIR}/dialog4ports.sh $${TMPOPTIONSFILE} || { \
4770
	${SETENV} ${D4P_ENV} ${SH} ${SCRIPTSDIR}/dialog4ports.sh $${TMPOPTIONSFILE} || { \
4771
		${RM} -f $${TMPOPTIONSFILE}; \
4771
		${RM} $${TMPOPTIONSFILE}; \
4772
		${ECHO_MSG} "===> Options unchanged"; \
4772
		${ECHO_MSG} "===> Options unchanged"; \
4773
		exit 0; \
4773
		exit 0; \
4774
	}; \
4774
	}; \
Lines 4778-4786 do-config: Link Here
4778
		exit 0; \
4778
		exit 0; \
4779
	fi; \
4779
	fi; \
4780
	SELOPTIONS=$$(${CAT} $${TMPOPTIONSFILE}); \
4780
	SELOPTIONS=$$(${CAT} $${TMPOPTIONSFILE}); \
4781
	${RM} -f $${TMPOPTIONSFILE}; \
4781
	${RM} $${TMPOPTIONSFILE}; \
4782
	TMPOPTIONSFILE=$$(mktemp -t portoptions); \
4782
	TMPOPTIONSFILE=$$(mktemp -t portoptions); \
4783
	trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \
4783
	trap "${RM} $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \
4784
	${ECHO_CMD} "# This file is auto-generated by 'make config'." > $${TMPOPTIONSFILE}; \
4784
	${ECHO_CMD} "# This file is auto-generated by 'make config'." > $${TMPOPTIONSFILE}; \
4785
	${ECHO_CMD} "# Options for ${PKGNAME}" >> $${TMPOPTIONSFILE}; \
4785
	${ECHO_CMD} "# Options for ${PKGNAME}" >> $${TMPOPTIONSFILE}; \
4786
	${ECHO_CMD} "_OPTIONS_READ=${PKGNAME}" >> $${TMPOPTIONSFILE}; \
4786
	${ECHO_CMD} "_OPTIONS_READ=${PKGNAME}" >> $${TMPOPTIONSFILE}; \
Lines 4800-4806 do-config: Link Here
4800
	else \
4800
	else \
4801
		${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}; \
4801
		${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}; \
4802
	fi; \
4802
	fi; \
4803
	${RM} -f $${TMPOPTIONSFILE}
4803
	${RM} $${TMPOPTIONSFILE}
4804
	@cd ${.CURDIR} && ${MAKE} sanity-config
4804
	@cd ${.CURDIR} && ${MAKE} sanity-config
4805
.endif
4805
.endif
4806
.endif # do-config
4806
.endif # do-config
Lines 4885-4895 rmconfig: Link Here
4885
	optionsdir=${OPTIONS_FILE:H}; \
4885
	optionsdir=${OPTIONS_FILE:H}; \
4886
	if [ ${UID} != 0 -a "x${INSTALL_AS_USER}" = "x" -a ! -w "${OPTIONS_FILE}" ]; then \
4886
	if [ ${UID} != 0 -a "x${INSTALL_AS_USER}" = "x" -a ! -w "${OPTIONS_FILE}" ]; then \
4887
		${ECHO_MSG} "===> Switching to root credentials to remove ${OPTIONS_FILE} and $${optionsdir}"; \
4887
		${ECHO_MSG} "===> Switching to root credentials to remove ${OPTIONS_FILE} and $${optionsdir}"; \
4888
		${SU_CMD} "${RM} -f ${OPTIONS_FILE} ; \
4888
		${SU_CMD} "${RM} ${OPTIONS_FILE} ; \
4889
			${RMDIR} $${optionsdir}"; \
4889
			${RMDIR} $${optionsdir}"; \
4890
		${ECHO_MSG} "===> Returning to user credentials"; \
4890
		${ECHO_MSG} "===> Returning to user credentials"; \
4891
	else \
4891
	else \
4892
		${RM} -f ${OPTIONS_FILE}; \
4892
		${RM} ${OPTIONS_FILE}; \
4893
		${RMDIR} $${optionsdir} 2>/dev/null || return 0; \
4893
		${RMDIR} $${optionsdir} 2>/dev/null || return 0; \
4894
	fi
4894
	fi
4895
.else
4895
.else
(-)Mk/bsd.port.subdir.mk (-2 / +2 lines)
Lines 303-309 readmes: readme Link Here
303
303
304
.if !target(readme)
304
.if !target(readme)
305
readme:
305
readme:
306
	@${RM} -f README.html
306
	@${RM} README.html
307
	@${MAKE} README.html
307
	@${MAKE} README.html
308
.endif
308
.endif
309
309
Lines 345-351 README.html: Link Here
345
			-e '/%%SUBDIR%%/r$@.tmp2' \
345
			-e '/%%SUBDIR%%/r$@.tmp2' \
346
			-e '/%%SUBDIR%%/d' \
346
			-e '/%%SUBDIR%%/d' \
347
		> $@
347
		> $@
348
	@${RM} -f $@.tmp $@.tmp2 $@.tmp3 $@.tmp4
348
	@${RM} $@.tmp $@.tmp2 $@.tmp3 $@.tmp4
349
349
350
# Pass in the cached invariant variables to child makes.
350
# Pass in the cached invariant variables to child makes.
351
.if !defined(NOPRECIOUSMAKEVARS)
351
.if !defined(NOPRECIOUSMAKEVARS)
(-)accessibility/at-spi/Makefile (-1 / +1 lines)
Lines 30-36 INSTALL_TARGET= install-strip Link Here
30
GCONF_SCHEMAS=	at-spi.schemas
30
GCONF_SCHEMAS=	at-spi.schemas
31
31
32
post-extract:
32
post-extract:
33
	@${RM} -f ${WRKSRC}/registryd/Accessibility_Registry.server
33
	@${RM} ${WRKSRC}/registryd/Accessibility_Registry.server
34
34
35
post-patch:
35
post-patch:
36
	@${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" ${WRKSRC}/Makefile.in
36
	@${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" ${WRKSRC}/Makefile.in
(-)accessibility/speech-dispatcher/Makefile (-1 / +1 lines)
Lines 77-83 post-install: Link Here
77
.for f in ${ETCFILES}
77
.for f in ${ETCFILES}
78
	@${MV} ${STAGEDIR}${ETCDIR}/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
78
	@${MV} ${STAGEDIR}${ETCDIR}/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
79
.endfor
79
.endfor
80
	@${RM} -rf ${STAGEDIR}${DATADIR}/conf
80
	@${RM} -r ${STAGEDIR}${DATADIR}/conf
81
	@${RMDIR} ${STAGEDIR}${DATADIR} || ${TRUE}
81
	@${RMDIR} ${STAGEDIR}${DATADIR} || ${TRUE}
82
	${MKDIR} ${STAGEDIR}${DOCSDIR}
82
	${MKDIR} ${STAGEDIR}${DOCSDIR}
83
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
83
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
(-)arabic/libitl/Makefile (-1 / +1 lines)
Lines 19-25 MAKE_JOBS_UNSAFE= yes Link Here
19
19
20
post-install:
20
post-install:
21
.for f in libitl.so libitl.so.0
21
.for f in libitl.so libitl.so.0
22
	${RM} -f ${STAGEDIR}${PREFIX}/lib/itl/$f
22
	${RM} ${STAGEDIR}${PREFIX}/lib/itl/$f
23
	${LN} -s libitl.so.0.0.7 ${STAGEDIR}${PREFIX}/lib/itl/$f
23
	${LN} -s libitl.so.0.0.7 ${STAGEDIR}${PREFIX}/lib/itl/$f
24
.endfor
24
.endfor
25
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/itl/libitl.so
25
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/itl/libitl.so
(-)archivers/deco/Makefile (-1 / +1 lines)
Lines 41-47 do-install: Link Here
41
	${INSTALL_PROGRAM} ${WRKSRC}/deco ${STAGEDIR}${PREFIX}/bin
41
	${INSTALL_PROGRAM} ${WRKSRC}/deco ${STAGEDIR}${PREFIX}/bin
42
	@${MKDIR} ${STAGEDIR}${DATADIR}
42
	@${MKDIR} ${STAGEDIR}${DATADIR}
43
.for i in LICENSE Makefile NEWS README config.mk
43
.for i in LICENSE Makefile NEWS README config.mk
44
	${RM} -rf ${WRKSRC}/../${PORTNAME}-archive-1.7/${i}
44
	${RM} -r ${WRKSRC}/../${PORTNAME}-archive-1.7/${i}
45
.endfor
45
.endfor
46
	@cd ${WRKDIR}/${PORTNAME}-archive-1.7/x/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
46
	@cd ${WRKDIR}/${PORTNAME}-archive-1.7/x/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
47
	@${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} +x {} \;
47
	@${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} +x {} \;
(-)archivers/minizip/Makefile (-3 / +3 lines)
Lines 27-38 post-install: Link Here
27
	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1
27
	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1
28
28
29
regression-test:
29
regression-test:
30
	${RM} -rf ${WRKDIR}/regression-test1
30
	${RM} -r ${WRKDIR}/regression-test1
31
	${MKDIR} ${WRKDIR}/regression-test1
31
	${MKDIR} ${WRKDIR}/regression-test1
32
	${MV} ${WRKSRC}/*.[cho] ${WRKDIR}/regression-test1
32
	${MV} ${WRKSRC}/*.[cho] ${WRKDIR}/regression-test1
33
	${RM} -f ${WRKDIR}/test.zip
33
	${RM} ${WRKDIR}/test.zip
34
	(cd ${WRKDIR}/regression-test1 && ${WRKSRC}/minizip ${WRKDIR}/test.zip *)
34
	(cd ${WRKDIR}/regression-test1 && ${WRKSRC}/minizip ${WRKDIR}/test.zip *)
35
	${RM} -rf ${WRKDIR}/regression-test2
35
	${RM} -r ${WRKDIR}/regression-test2
36
	${MKDIR} ${WRKDIR}/regression-test2
36
	${MKDIR} ${WRKDIR}/regression-test2
37
	${WRKSRC}/miniunzip ${WRKDIR}/test.zip -d ${WRKDIR}/regression-test2
37
	${WRKSRC}/miniunzip ${WRKDIR}/test.zip -d ${WRKDIR}/regression-test2
38
	${DIFF} -ur ${WRKDIR}/regression-test1 ${WRKDIR}/regression-test2 > /dev/null
38
	${DIFF} -ur ${WRKDIR}/regression-test1 ${WRKDIR}/regression-test2 > /dev/null
(-)archivers/unmakeself/Makefile (-1 / +1 lines)
Lines 17-23 NO_WRKSUBDIR= yes Link Here
17
PLIST_FILES=	bin/unmakeself
17
PLIST_FILES=	bin/unmakeself
18
18
19
do-configure:
19
do-configure:
20
	@${RM} -f ${WRKSRC}/config.h
20
	@${RM} ${WRKSRC}/config.h
21
	@if ${GREP} -q memmem /usr/include/string.h; then \
21
	@if ${GREP} -q memmem /usr/include/string.h; then \
22
		${ECHO_CMD} "#define HAS_MEMMEM" > ${WRKSRC}/config.h; \
22
		${ECHO_CMD} "#define HAS_MEMMEM" > ${WRKSRC}/config.h; \
23
	else \
23
	else \
(-)archivers/zipper/Makefile (-1 / +1 lines)
Lines 15-20 USES= gnustep Link Here
15
USE_GNUSTEP=	back build
15
USE_GNUSTEP=	back build
16
16
17
post-patch:
17
post-patch:
18
	cd ${WRKSRC} && ${FIND} . -name "*#*" -exec ${RM} -f -v "{}" ";"
18
	cd ${WRKSRC} && ${FIND} . -name "*#*" -exec ${RM} -v "{}" ";"
19
19
20
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)astro/gpsbabel/Makefile (-1 / +1 lines)
Lines 36-42 post-patch: Link Here
36
	@${REINPLACE_CMD} '/langPath_ = / \
36
	@${REINPLACE_CMD} '/langPath_ = / \
37
		s|QApplication::applicationDirPath()|"${DATADIR}"|' \
37
		s|QApplication::applicationDirPath()|"${DATADIR}"|' \
38
			${WRKSRC}/gui/mainwindow.cc
38
			${WRKSRC}/gui/mainwindow.cc
39
	@${RM} -rf ${WRKSRC}/zlib/contrib/minizip
39
	@${RM} -r ${WRKSRC}/zlib/contrib/minizip
40
40
41
do-install:
41
do-install:
42
	${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${STAGEDIR}${PREFIX}/bin/
42
	${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${STAGEDIR}${PREFIX}/bin/
(-)audio/autozen/Makefile (-1 / +1 lines)
Lines 33-39 USE_GNOME= gtk20 Link Here
33
MAKE_ENV=	GTK_CONFIG="pkg-config gtk+-2.0"
33
MAKE_ENV=	GTK_CONFIG="pkg-config gtk+-2.0"
34
34
35
post-extract:
35
post-extract:
36
	@cd ${WRKSRC} && ${RM} -f autozen seq2wav
36
	@cd ${WRKSRC} && ${RM} autozen seq2wav
37
37
38
post-patch:
38
post-patch:
39
	@${REINPLACE_CMD} -e \
39
	@${REINPLACE_CMD} -e \
(-)audio/eawplus/Makefile (-2 / +2 lines)
Lines 24-31 PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR} Link Here
24
OPTIONS_DEFINE=	DOCS
24
OPTIONS_DEFINE=	DOCS
25
25
26
post-extract:
26
post-extract:
27
	@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-hihatp.pat.orig
27
	@${RM} ${WRKSRC}/timidity/inst/GUS/power/h-hihatp.pat.orig
28
	@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-snare.pat.orig
28
	@${RM} ${WRKSRC}/timidity/inst/GUS/power/h-snare.pat.orig
29
29
30
do-build:
30
do-build:
31
	${SED}	-e "s|%%PREFIX%%|${PREFIX}|g" \
31
	${SED}	-e "s|%%PREFIX%%|${PREFIX}|g" \
(-)audio/festdoc/Makefile (-1 / +1 lines)
Lines 30-36 do-install: Link Here
30
	  ${CP} $$info ${STAGEDIR}${PREFIX}/info && \
30
	  ${CP} $$info ${STAGEDIR}${PREFIX}/info && \
31
	  ${CP} -r ${WRKSRC}/* ${STAGEDIR}${FDOC} && \
31
	  ${CP} -r ${WRKSRC}/* ${STAGEDIR}${FDOC} && \
32
	  cd ${STAGEDIR}${FDOC} && \
32
	  cd ${STAGEDIR}${FDOC} && \
33
	  ${RM} -f $$info && \
33
	  ${RM} $$info && \
34
	  ${RMDIR} festival/info
34
	  ${RMDIR} festival/info
35
35
36
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)audio/festival/Makefile (-1 / +1 lines)
Lines 100-106 do-install: Link Here
100
	${FIND} ${FESTIVAL}/lib -type d -print0 | ${XARGS} -0 ${CHMOD} 755
100
	${FIND} ${FESTIVAL}/lib -type d -print0 | ${XARGS} -0 ${CHMOD} 755
101
	${FIND} ${FESTIVAL} -type f -name *.orig -delete
101
	${FIND} ${FESTIVAL} -type f -name *.orig -delete
102
	${CP} -pPR ${FESTIVAL}/lib ${FESTIVAL}/examples ${STAGEDIR}${DATADIR}
102
	${CP} -pPR ${FESTIVAL}/lib ${FESTIVAL}/examples ${STAGEDIR}${DATADIR}
103
	${RM} -rf ${STAGEDIR}${DATADIR}/lib/etc/Makefile ${STAGEDIR}${DATADIR}/lib/etc/*FreeBSD* \
103
	${RM} -r ${STAGEDIR}${DATADIR}/lib/etc/Makefile ${STAGEDIR}${DATADIR}/lib/etc/*FreeBSD* \
104
	    ${STAGEDIR}${DATADIR}/lib/etc/*unknown
104
	    ${STAGEDIR}${DATADIR}/lib/etc/*unknown
105
	${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/*/audsp ${STAGEDIR}${PREFIX}/libexec
105
	${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/*/audsp ${STAGEDIR}${PREFIX}/libexec
106
	${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival ${STAGEDIR}${PREFIX}/libexec/festival.naked
106
	${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival ${STAGEDIR}${PREFIX}/libexec/festival.naked
(-)audio/festvox-el11/Makefile (-1 / +1 lines)
Lines 29-34 post-extract: Link Here
29
do-install:
29
do-install:
30
	@${MKDIR} ${STAGEDIR}${FHOME}
30
	@${MKDIR} ${STAGEDIR}${FHOME}
31
	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
31
	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FHOME}
32
	${RM} -f ${STAGEDIR}${PREFIX}/share/festival/lib/voices/spanish/el_diphone/COPYING
32
	${RM} ${STAGEDIR}${PREFIX}/share/festival/lib/voices/spanish/el_diphone/COPYING
33
33
34
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)audio/glame/Makefile (-1 / +1 lines)
Lines 30-36 CPPFLAGS+= -I${LOCALBASE}/include Link Here
30
LDFLAGS+=	-L${LOCALBASE}/lib -lltdl
30
LDFLAGS+=	-L${LOCALBASE}/lib -lltdl
31
31
32
post-extract:
32
post-extract:
33
	@cd ${WRKSRC}/doc && ${RM} -f *.info*
33
	@cd ${WRKSRC}/doc && ${RM} *.info*
34
34
35
post-patch:
35
post-patch:
36
	@${REINPLACE_CMD} -e 's| libltdl|| ; s|,$$LIBLTDL,|,,| ; \
36
	@${REINPLACE_CMD} -e 's| libltdl|| ; s|,$$LIBLTDL,|,,| ; \
(-)audio/id3lib/Makefile (-1 / +1 lines)
Lines 18-24 CPPFLAGS+= -I${LOCALBASE}/include Link Here
18
LDFLAGS+=	-L${LOCALBASE}/lib
18
LDFLAGS+=	-L${LOCALBASE}/lib
19
19
20
post-extract:
20
post-extract:
21
	@${RM} -rf ${WRKSRC}/zlib
21
	@${RM} -r ${WRKSRC}/zlib
22
22
23
post-patch:
23
post-patch:
24
	@${REINPLACE_CMD} '/main/s/unsigned int/int/' \
24
	@${REINPLACE_CMD} '/main/s/unsigned int/int/' \
(-)audio/jack/Makefile (-2 / +2 lines)
Lines 61-69 post-patch: Link Here
61
		${WRKSRC}/example-clients/Makefile.in
61
		${WRKSRC}/example-clients/Makefile.in
62
	@${REINPLACE_CMD} -e 's|md5sum|md5 -q|g' \
62
	@${REINPLACE_CMD} -e 's|md5sum|md5 -q|g' \
63
		${WRKSRC}/jackd/Makefile.in
63
		${WRKSRC}/jackd/Makefile.in
64
	@${RM} -f ${WRKSRC}/doc/reference/html/*
64
	@${RM} ${WRKSRC}/doc/reference/html/*
65
65
66
post-build:
66
post-build:
67
	@${RM} -f ${WRKSRC}/doc/reference/html/dir__2F*
67
	@${RM} ${WRKSRC}/doc/reference/html/dir__2F*
68
68
69
.include <bsd.port.mk>
69
.include <bsd.port.mk>
(-)audio/libmusicbrainz5/Makefile (-1 / +1 lines)
Lines 26-31 post-patch: Link Here
26
		 ${WRKSRC}/src/CMakeLists.txt
26
		 ${WRKSRC}/src/CMakeLists.txt
27
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
27
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
28
		 ${WRKSRC}/cmake/modules/*.cmake
28
		 ${WRKSRC}/cmake/modules/*.cmake
29
	${RM} -f ${WRKSRC}/cmake/modules/FindLibXml2.cmake
29
	${RM} ${WRKSRC}/cmake/modules/FindLibXml2.cmake
30
30
31
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)audio/libnoise/Makefile (-1 / +1 lines)
Lines 36-41 do-install: Link Here
36
		${INSTALL_LIB} libnoise.la ${STAGEDIR}${PREFIX}/lib)
36
		${INSTALL_LIB} libnoise.la ${STAGEDIR}${PREFIX}/lib)
37
	(cd ${WRKSRC}/include && \
37
	(cd ${WRKSRC}/include && \
38
		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/noise)
38
		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/noise)
39
	${RM} -f ${STAGEDIR}${PREFIX}/include/noise/Makefile
39
	${RM} ${STAGEDIR}${PREFIX}/include/noise/Makefile
40
40
41
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)audio/nosefart/Makefile (-1 / +1 lines)
Lines 20-26 MAKE_ENV= INSTALL="${INSTALL}" COPY="${COPY}" STRIP="${STRIP}" \ Link Here
20
PLIST_FILES=	bin/nosefart
20
PLIST_FILES=	bin/nosefart
21
21
22
pre-build:
22
pre-build:
23
	@${RM} -rf ${BUILD_WRKSRC}/nsfobj
23
	@${RM} -r ${BUILD_WRKSRC}/nsfobj
24
24
25
do-install:
25
do-install:
26
	${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
26
	${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
(-)audio/opusfile/Makefile (-1 / +1 lines)
Lines 50-56 post-patch: Link Here
50
	@${CP} ${FILESDIR}/ftime.c ${WRKSRC}/src/
50
	@${CP} ${FILESDIR}/ftime.c ${WRKSRC}/src/
51
51
52
post-install-DOXYGEN-on:
52
post-install-DOXYGEN-on:
53
	@${RM} -f ${WRKDIR}/PLIST.doc ; \
53
	@${RM} ${WRKDIR}/PLIST.doc ; \
54
	${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \
54
	${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \
55
		${SED} 's|${STAGEDIR}${PREFIX}/||' \
55
		${SED} 's|${STAGEDIR}${PREFIX}/||' \
56
		>> ${WRKDIR}/PLIST.doc ; \
56
		>> ${WRKDIR}/PLIST.doc ; \
(-)audio/p5-libvorbis/Makefile (-1 / +1 lines)
Lines 19-25 USES= perl5 Link Here
19
USE_PERL5=	configure
19
USE_PERL5=	configure
20
20
21
post-extract:
21
post-extract:
22
	@${RM} -rf ${WRKSRC}/blib ${WRKSRC}/pm_to_blib
22
	@${RM} -r ${WRKSRC}/blib ${WRKSRC}/pm_to_blib
23
23
24
post-patch:
24
post-patch:
25
	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Makefile.PL
25
	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Makefile.PL
(-)audio/pulseaudio/Makefile (-1 / +1 lines)
Lines 92-97 post-install: Link Here
92
.endfor
92
.endfor
93
93
94
post-install-BASH-off:
94
post-install-BASH-off:
95
	@${RM} -rf ${STAGEDIR}${PREFIX}/share/bash-completion
95
	@${RM} -r ${STAGEDIR}${PREFIX}/share/bash-completion
96
96
97
.include <bsd.port.mk>
97
.include <bsd.port.mk>
(-)audio/rhythmbox/Makefile (-1 / +1 lines)
Lines 92-97 post-patch: Link Here
92
92
93
# rbzeitgeist plugin needs py3-zeitgeist
93
# rbzeitgeist plugin needs py3-zeitgeist
94
post-install:
94
post-install:
95
	@${RM} -rf ${STAGEDIR}${PREFIX}/lib/rhythmbox/plugins/rbzeitgeist
95
	@${RM} -r ${STAGEDIR}${PREFIX}/lib/rhythmbox/plugins/rbzeitgeist
96
96
97
.include <bsd.port.post.mk>
97
.include <bsd.port.post.mk>
(-)audio/rioutil/Makefile (-1 / +1 lines)
Lines 19-24 USE_LDCONFIG= yes Link Here
19
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
20
20
21
post-extract:
21
post-extract:
22
	@${RM} -f ${WRKSRC}/src/getopt*
22
	@${RM} ${WRKSRC}/src/getopt*
23
23
24
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)audio/timidity++/Makefile (-2 / +2 lines)
Lines 63-70 CONFLICTS_INSTALL= timidity-[0-9]* Link Here
63
DOCFILES=	README.alsaseq README.dl README.m2m README.mts README.sf
63
DOCFILES=	README.alsaseq README.dl README.m2m README.mts README.sf
64
64
65
pre-patch:
65
pre-patch:
66
	@${RM} -f ${WRKSRC}/libarc/*.h
66
	@${RM} ${WRKSRC}/libarc/*.h
67
	@${RM} -f ${WRKSRC}/utils/mblock.h
67
	@${RM} ${WRKSRC}/utils/mblock.h
68
68
69
pre-install:
69
pre-install:
70
	@${MKDIR} ${STAGEDIR}${PREFIX}/${TIMID_LIBDIR}
70
	@${MKDIR} ${STAGEDIR}${PREFIX}/${TIMID_LIBDIR}
(-)audio/timidity++/Makefile.interface (-2 / +2 lines)
Lines 121-128 DESKTOP_ENTRIES="XSkinMidi" "" "" "${LINK}" "AudioVideo;Audio;Midi;" "" Link Here
121
.endif
121
.endif
122
122
123
post-extract:
123
post-extract:
124
	@${RM} -f ${WRKSRC}/libarc/*.h
124
	@${RM} ${WRKSRC}/libarc/*.h
125
	@${RM} -f ${WRKSRC}/utils/mblock.h
125
	@${RM} ${WRKSRC}/utils/mblock.h
126
126
127
post-patch:
127
post-patch:
128
.if ${INTERFACE} == "slang"
128
.if ${INTERFACE} == "slang"
(-)audio/uade/Makefile (-1 / +1 lines)
Lines 49-55 XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms Link Here
49
XMMS_CONFIGURE_WITH=	xmms
49
XMMS_CONFIGURE_WITH=	xmms
50
50
51
post-extract:
51
post-extract:
52
	@${RM} -rf ${WRKSRC}/players/S
52
	@${RM} -r ${WRKSRC}/players/S
53
53
54
post-patch:
54
post-patch:
55
	@${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' \
55
	@${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' \
(-)audio/wildmidi/Makefile (-1 / +1 lines)
Lines 68-74 post-patch: Link Here
68
		${REINPLACE_CMD} '/INSTALL/s@share/man@man@'
68
		${REINPLACE_CMD} '/INSTALL/s@share/man@man@'
69
69
70
pre-install:
70
pre-install:
71
	@${RM} -f ${WRKSRC}/docs/man/man1/wildmidi.1${REINPLACE_ARGS:S/-i//} \
71
	@${RM} ${WRKSRC}/docs/man/man1/wildmidi.1${REINPLACE_ARGS:S/-i//} \
72
		${WRKSRC}/docs/man/man5/wildmidi.cfg.5${REINPLACE_ARGS:S/-i//}
72
		${WRKSRC}/docs/man/man5/wildmidi.cfg.5${REINPLACE_ARGS:S/-i//}
73
	${MKDIR} ${STAGEDIR}${DATADIR} ; \
73
	${MKDIR} ${STAGEDIR}${DATADIR} ; \
74
	${CP} ${WRKSRC}/cfg/wildmidi.cfg ${STAGEDIR}${DATADIR}/wildmidi.cfg.sample
74
	${CP} ${WRKSRC}/cfg/wildmidi.cfg ${STAGEDIR}${DATADIR}/wildmidi.cfg.sample
(-)audio/xmms-gbsplay/Makefile (-1 / +1 lines)
Lines 32-38 CONFIGURE_ARGS= --disable-nas --prefix=${PREFIX} Link Here
32
PLIST_FILES=	lib/xmms/Input/gbsxmms.so
32
PLIST_FILES=	lib/xmms/Input/gbsxmms.so
33
33
34
post-extract:
34
post-extract:
35
	@${RM} -f ${WRKSRC}/po/subdir.mk
35
	@${RM} ${WRKSRC}/po/subdir.mk
36
36
37
post-patch:
37
post-patch:
38
	@${REINPLACE_CMD} -e \
38
	@${REINPLACE_CMD} -e \
(-)base/gcc/Makefile (-1 / +1 lines)
Lines 72-77 post-install: Link Here
72
	${LN} -sf ${GCC_TARGET}-g++.1.gz ${STAGEDIR}/${MANDIR}1/c++.1.gz
72
	${LN} -sf ${GCC_TARGET}-g++.1.gz ${STAGEDIR}/${MANDIR}1/c++.1.gz
73
	${LN} -sf ${GCC_TARGET}-gcc  ${STAGEDIR}/usr/bin/cc ; \
73
	${LN} -sf ${GCC_TARGET}-gcc  ${STAGEDIR}/usr/bin/cc ; \
74
	${LN} -sf ${GCC_TARGET}-gcc.1.gz ${STAGEDIR}/${MANDIR}1/cc.1.gz
74
	${LN} -sf ${GCC_TARGET}-gcc.1.gz ${STAGEDIR}/${MANDIR}1/cc.1.gz
75
	${RM} -rf ${STAGEDIR}/usr/share/info
75
	${RM} -r ${STAGEDIR}/usr/share/info
76
76
77
.include <bsd.port.mk>
77
.include <bsd.port.mk>
(-)benchmarks/flowgrind/Makefile (-1 / +1 lines)
Lines 24-30 CONFIGURE_ARGS= --enable-pcap --enable-gsl Link Here
24
CONFIGURE_ENV=  LIBS="${LIBS} -lpcap"
24
CONFIGURE_ENV=  LIBS="${LIBS} -lpcap"
25
25
26
post-patch:
26
post-patch:
27
	@${RM} -rf ${WRKSRC}/build-aux
27
	@${RM} -r ${WRKSRC}/build-aux
28
	@${REINPLACE_CMD} -e 's|AC_LIB_RPATH||g' ${WRKSRC}/configure.ac
28
	@${REINPLACE_CMD} -e 's|AC_LIB_RPATH||g' ${WRKSRC}/configure.ac
29
29
30
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)benchmarks/lmbench/Makefile (-1 / +1 lines)
Lines 40-46 post-extract: Link Here
40
# Clean up turds from building the library.  Some systems just have
40
# Clean up turds from building the library.  Some systems just have
41
# .o, some also end up with .s, so clean up both.
41
# .o, some also end up with .s, so clean up both.
42
post-build:
42
post-build:
43
	@${RM} -f ${WRKSRC}/bin/*/*.[os]
43
	@${RM} ${WRKSRC}/bin/*/*.[os]
44
44
45
do-install:
45
do-install:
46
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lmbench
46
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lmbench
(-)benchmarks/nqueens/Makefile (-1 / +1 lines)
Lines 35-41 PROGS+= qn24b_mpi Link Here
35
.endif
35
.endif
36
36
37
post-extract:
37
post-extract:
38
	@${RM} -f ${WRKSRC}/qn24b_base
38
	@${RM} ${WRKSRC}/qn24b_base
39
39
40
do-build:
40
do-build:
41
	cd ${WRKSRC} && \
41
	cd ${WRKSRC} && \
(-)benchmarks/siege/Makefile (-2 / +2 lines)
Lines 20-26 CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} --disable-shared \ Link Here
20
		--sysconfdir=${ETCDIR}
20
		--sysconfdir=${ETCDIR}
21
21
22
pre-configure:
22
pre-configure:
23
	@${RM} -f ${WRKSRC}/acinclude.m4
23
	@${RM} ${WRKSRC}/acinclude.m4
24
	@${RM} -f ${WRKSRC}/utils/missing
24
	@${RM} ${WRKSRC}/utils/missing
25
25
26
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)benchmarks/unixbench/Makefile (-1 / +1 lines)
Lines 17-23 SUB_FILES= unixbench Link Here
17
MAKE_JOBS_UNSAFE=	yes
17
MAKE_JOBS_UNSAFE=	yes
18
18
19
post-extract:
19
post-extract:
20
	${RM} -f ${WRKSRC}/pgms/select
20
	${RM} ${WRKSRC}/pgms/select
21
21
22
do-install:
22
do-install:
23
	${INSTALL_SCRIPT} ${WRKDIR}/unixbench ${STAGEDIR}${PREFIX}/bin/
23
	${INSTALL_SCRIPT} ${WRKDIR}/unixbench ${STAGEDIR}${PREFIX}/bin/
(-)biology/artemis/Makefile (-1 / +1 lines)
Lines 21-27 NO_BUILD= yes Link Here
21
PLIST_SUB=	PORTVERSION="${PORTVERSION}"
21
PLIST_SUB=	PORTVERSION="${PORTVERSION}"
22
22
23
post-extract:
23
post-extract:
24
	@${FIND} ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} +
24
	@${FIND} ${WRKSRC} -type d -name CVS -exec ${RM} -r {} +
25
25
26
do-install:
26
do-install:
27
	@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION}
27
	@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION}
(-)biology/fasta/Makefile (-1 / +1 lines)
Lines 22-28 PORTDOCS= COPYRIGHT README.versions fasta20.doc fasta20.me format.doc \ Link Here
22
OPTIONS_DEFINE=	DOCS
22
OPTIONS_DEFINE=	DOCS
23
23
24
do-extract:
24
do-extract:
25
	@ ${RM} -rf ${WRKDIR}
25
	@ ${RM} -r ${WRKDIR}
26
	@ ${MKDIR} ${WRKSRC}
26
	@ ${MKDIR} ${WRKSRC}
27
	@ for f in ${EXTRACT_ONLY}; do \
27
	@ for f in ${EXTRACT_ONLY}; do \
28
	  cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${f} | ${SH} >/dev/null); \
28
	  cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${f} | ${SH} >/dev/null); \
(-)biology/tinker/Makefile (-1 / +1 lines)
Lines 45-51 post-extract: Link Here
45
	@${CHMOD} -R u+w ${WRKSRC}
45
	@${CHMOD} -R u+w ${WRKSRC}
46
46
47
pre-build:
47
pre-build:
48
	@${RM} -f ${BUILD_WRKSRC}/*.c
48
	@${RM} ${BUILD_WRKSRC}/*.c
49
49
50
post-install:
50
post-install:
51
	${MKDIR} ${STAGEDIR}${DATADIR}
51
	${MKDIR} ${STAGEDIR}${DATADIR}
(-)cad/impact/Makefile (-1 / +1 lines)
Lines 49-55 GMSH_RUN_DEPENDS= gmsh:cad/gmsh Link Here
49
49
50
post-extract:
50
post-extract:
51
	@${FIND} ${WRKSRC} -name CVS -type d -print0 -or -name .cvsignore -type f -print0 | \
51
	@${FIND} ${WRKSRC} -name CVS -type d -print0 -or -name .cvsignore -type f -print0 | \
52
		${XARGS} -0 ${RM} -rf
52
		${XARGS} -0 ${RM} -r
53
53
54
do-install:
54
do-install:
55
	(cd ${WRKDIR} && ${INSTALL_SCRIPT} impact impactgui \
55
	(cd ${WRKDIR} && ${INSTALL_SCRIPT} impact impactgui \
(-)cad/kicad/Makefile (-1 / +1 lines)
Lines 80-86 post-install-NLS-on: Link Here
80
	${MKDIR} ${STAGEDIR}${DATADIR}/internat
80
	${MKDIR} ${STAGEDIR}${DATADIR}/internat
81
	(cd ${WRKSRC}/doc/internat &&	\
81
	(cd ${WRKSRC}/doc/internat &&	\
82
		${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/internat)
82
		${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/internat)
83
	${RM} -f ${STAGEDIR}${DATADIR}/internat/CMakeLists.txt
83
	${RM} ${STAGEDIR}${DATADIR}/internat/CMakeLists.txt
84
	${FIND} ${STAGEDIR}${DATADIR}/internat -name kicad.po -delete
84
	${FIND} ${STAGEDIR}${DATADIR}/internat -name kicad.po -delete
85
85
86
post-install-DOCS-on:
86
post-install-DOCS-on:
(-)cad/opencascade/Makefile (-1 / +1 lines)
Lines 124-130 post-install: Link Here
124
	done)
124
	done)
125
	${MKDIR} ${STAGEDIR}${PREFIX}/include/OpenCASCADE
125
	${MKDIR} ${STAGEDIR}${PREFIX}/include/OpenCASCADE
126
	(cd ${STAGEDIR}${OCCROOT}/inc && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/OpenCASCADE)
126
	(cd ${STAGEDIR}${OCCROOT}/inc && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/OpenCASCADE)
127
	${RM} -rf ${STAGEDIR}${OCCROOT}/inc
127
	${RM} -r ${STAGEDIR}${OCCROOT}/inc
128
	${LN} -sf ${PREFIX}/include/OpenCASCADE ${STAGEDIR}${OCCROOT}/inc
128
	${LN} -sf ${PREFIX}/include/OpenCASCADE ${STAGEDIR}${OCCROOT}/inc
129
	(cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${OCCROOT})
129
	(cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${OCCROOT})
130
post-install-DOCS-on:
130
post-install-DOCS-on:
(-)cad/tochnog/Makefile (-1 / +1 lines)
Lines 94-100 do-install: Link Here
94
	  ${STAGEDIR}${GID_PTYPES}/tochnog.gid
94
	  ${STAGEDIR}${GID_PTYPES}/tochnog.gid
95
do-install-EXAMPLES-on:
95
do-install-EXAMPLES-on:
96
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
96
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
97
	${RM} -f ${WRKDIR}/Sources/test/*.orig
97
	${RM} ${WRKDIR}/Sources/test/*.orig
98
	${INSTALL_DATA} ${WRKDIR}/Sources/test/* ${STAGEDIR}${EXAMPLESDIR}
98
	${INSTALL_DATA} ${WRKDIR}/Sources/test/* ${STAGEDIR}${EXAMPLESDIR}
99
99
100
.include <bsd.port.mk>
100
.include <bsd.port.mk>
(-)chinese/cnprint/Makefile (-1 / +1 lines)
Lines 31-37 do-extract: Link Here
31
.endfor
31
.endfor
32
	cd ${WRKSRC} ; \
32
	cd ${WRKSRC} ; \
33
	${TAR} pzvxf hbf.tar.gz ; ${MV} hbf/* . ; \
33
	${TAR} pzvxf hbf.tar.gz ; ${MV} hbf/* . ; \
34
	${RM} -fr hbf ; \
34
	${RM} -r hbf ; \
35
	${GUNZIP_CMD} *.gz || ${TRUE}
35
	${GUNZIP_CMD} *.gz || ${TRUE}
36
36
37
post-patch:
37
post-patch:
(-)chinese/fireflyttf/Makefile (-1 / +1 lines)
Lines 37-43 post-extract: Link Here
37
	@${TAR} -C ${WRKSRC} -zxf ${DISTDIR}/fireflysung-1.3.0p1.tar.gz \
37
	@${TAR} -C ${WRKSRC} -zxf ${DISTDIR}/fireflysung-1.3.0p1.tar.gz \
38
		fireflysung-1.3.0p1/fireflysung.ttf
38
		fireflysung-1.3.0p1/fireflysung.ttf
39
	@${MV} ${WRKSRC}/fireflysung-1.3.0p1/fireflysung.ttf  ${WRKSRC}
39
	@${MV} ${WRKSRC}/fireflysung-1.3.0p1/fireflysung.ttf  ${WRKSRC}
40
	@${RM} -rf ${WRKSRC}/fireflysung-1.3.0p1
40
	@${RM} -r ${WRKSRC}/fireflysung-1.3.0p1
41
.else
41
.else
42
	${TRUE}
42
	${TRUE}
43
.endif
43
.endif
(-)chinese/phpbb-tw/Makefile (-1 / +1 lines)
Lines 70-76 pre-everything:: Link Here
70
post-patch:
70
post-patch:
71
	@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBB_URL}/templates#" \
71
	@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBB_URL}/templates#" \
72
	  ${WRKSRC}/docs/*.html
72
	  ${WRKSRC}/docs/*.html
73
	@${RM} -f `${FIND} ${WRKSRC} -name '*.orig'`
73
	@${RM} `${FIND} ${WRKSRC} -name '*.orig'`
74
74
75
do-install:
75
do-install:
76
	@ ${MKDIR} -m 0775 ${STAGEDIR}${PREFIX}/${PHPBBDIR}
76
	@ ${MKDIR} -m 0775 ${STAGEDIR}${PREFIX}/${PHPBBDIR}
(-)comms/cqrlog/Makefile (-2 / +2 lines)
Lines 44-50 QT4_BUILD_DEPENDS= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}/qt/interfaces.ppu:edito Link Here
44
QT4_MAKE_ARGS=	PLATFORM=qt
44
QT4_MAKE_ARGS=	PLATFORM=qt
45
45
46
post-extract:
46
post-extract:
47
	@${RM} -rf ${WRKSRC}/src/lnet/lib/openssl.pas
47
	@${RM} -r ${WRKSRC}/src/lnet/lib/openssl.pas
48
48
49
post-patch:
49
post-patch:
50
	@${SED} -e s!%%LOCALBASE%%!${LOCALBASE}!g \
50
	@${SED} -e s!%%LOCALBASE%%!${LOCALBASE}!g \
Lines 65-71 post-patch: Link Here
65
		${WRKSRC}/src/dData.pas ${WRKSRC}/src/fGrayline.pas
65
		${WRKSRC}/src/dData.pas ${WRKSRC}/src/fGrayline.pas
66
	${REINPLACE_CMD} -e s!%%LAZARUSDIR%%!${LAZARUS_DIR}!g \
66
	${REINPLACE_CMD} -e s!%%LAZARUSDIR%%!${LAZARUS_DIR}!g \
67
		${WRKSRC}/Makefile
67
		${WRKSRC}/Makefile
68
	${RM} -rf ${WRKSRC}/src/mysql
68
	${RM} -r ${WRKSRC}/src/mysql
69
	${LAZARUS_DIR}/tools/lazres ${WRKSRC}/src/fLoTWExport.lrs \
69
	${LAZARUS_DIR}/tools/lazres ${WRKSRC}/src/fLoTWExport.lrs \
70
		${WRKSRC}/src/fLoTWExport.lfm
70
		${WRKSRC}/src/fLoTWExport.lfm
71
	${LAZARUS_DIR}/tools/lazres ${WRKSRC}/src/fPreferences.lrs \
71
	${LAZARUS_DIR}/tools/lazres ${WRKSRC}/src/fPreferences.lrs \
(-)comms/wwl/Makefile (-1 / +1 lines)
Lines 15-21 CONFLICTS= locator* Link Here
15
15
16
do-install:
16
do-install:
17
	@${INSTALL_PROGRAM} ${WRKSRC}/wwl ${STAGEDIR}${PREFIX}/bin
17
	@${INSTALL_PROGRAM} ${WRKSRC}/wwl ${STAGEDIR}${PREFIX}/bin
18
	@${RM} -f ${STAGEDIR}${PREFIX}/bin/locator
18
	@${RM} ${STAGEDIR}${PREFIX}/bin/locator
19
	@${LN} -sf wwl ${STAGEDIR}${PREFIX}/bin/locator
19
	@${LN} -sf wwl ${STAGEDIR}${PREFIX}/bin/locator
20
	@${INSTALL_DATA} ${WRKSRC}/wwl.1 ${STAGEDIR}${MANPREFIX}/man/man1
20
	@${INSTALL_DATA} ${WRKSRC}/wwl.1 ${STAGEDIR}${MANPREFIX}/man/man1
21
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
21
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)comms/yaac/Makefile (-1 / +1 lines)
Lines 23-29 WRKSRC= ${WRKDIR}/yaac Link Here
23
23
24
do-install:
24
do-install:
25
	${UNZIP_NATIVE_CMD} -d ${STAGEDIR}/${JAVASHAREDIR}/${PORTNAME} ${WRKSRC}/YAAC.zip
25
	${UNZIP_NATIVE_CMD} -d ${STAGEDIR}/${JAVASHAREDIR}/${PORTNAME} ${WRKSRC}/YAAC.zip
26
	${RM} -rf ${STAGEDIR}/${JAVASHAREDIR}/${PORTNAME}/lib/rxtx-2.2pre2-bins
26
	${RM} -r ${STAGEDIR}/${JAVASHAREDIR}/${PORTNAME}/lib/rxtx-2.2pre2-bins
27
	${INSTALL_SCRIPT} ${WRKDIR}/yaac.sh ${STAGEDIR}${PREFIX}/bin/yaac
27
	${INSTALL_SCRIPT} ${WRKDIR}/yaac.sh ${STAGEDIR}${PREFIX}/bin/yaac
28
28
29
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)converters/recode/Makefile (-1 / +1 lines)
Lines 26-32 INFO= recode Link Here
26
26
27
post-extract:
27
post-extract:
28
	@${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n
28
	@${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n
29
	@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
29
	@${RM} ${WRKSRC}/doc/${PORTNAME}.info*
30
30
31
post-patch:
31
post-patch:
32
	@${REINPLACE_CMD} -E \
32
	@${REINPLACE_CMD} -E \
(-)databases/adodb/Makefile (-1 / +1 lines)
Lines 31-37 OPTIONS_SUB= yes Link Here
31
TESTS_DESC=	Install tests
31
TESTS_DESC=	Install tests
32
32
33
post-patch:
33
post-patch:
34
	@cd ${WRKSRC}; ${RM} -f cute_icons_for_site/Thumbs.db
34
	@cd ${WRKSRC}; ${RM} cute_icons_for_site/Thumbs.db
35
35
36
do-install:
36
do-install:
37
	@${MKDIR} ${STAGEDIR}${DATADIR}
37
	@${MKDIR} ${STAGEDIR}${DATADIR}
(-)databases/cassandra2/Makefile (-1 / +1 lines)
Lines 75-81 post-patch: Link Here
75
.endfor
75
.endfor
76
	${REINPLACE_CMD} -e 's|\`dirname \$$\0\`/..|${DATADIR}|' \
76
	${REINPLACE_CMD} -e 's|\`dirname \$$\0\`/..|${DATADIR}|' \
77
		${WRKSRC}/bin/cassandra.in.sh
77
		${WRKSRC}/bin/cassandra.in.sh
78
	${RM} -f ${WRKSRC}/conf/*.orig
78
	${RM} ${WRKSRC}/conf/*.orig
79
.if ${PORT_OPTIONS:MCQL}
79
.if ${PORT_OPTIONS:MCQL}
80
	${REINPLACE_CMD} -e 's|os.path.dirname(__file__)|"${DATADIR}/bin"|' \
80
	${REINPLACE_CMD} -e 's|os.path.dirname(__file__)|"${DATADIR}/bin"|' \
81
		${WRKSRC}/bin/cqlsh
81
		${WRKSRC}/bin/cqlsh
(-)databases/db5/Makefile (-4 / +4 lines)
Lines 93-105 post-install: Link Here
93
		       ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBMAJ} ; done
93
		       ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBMAJ} ; done
94
94
95
post-install-JAVA-off:
95
post-install-JAVA-off:
96
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/java
96
	${RM} -r ${STAGEDIR}${DOCSDIR}/java
97
.for i in gsg gsg_db_rep gsg_txn
97
.for i in gsg gsg_db_rep gsg_txn
98
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/${i}/JAVA
98
	${RM} -r ${STAGEDIR}${DOCSDIR}/${i}/JAVA
99
.endfor
99
.endfor
100
100
101
post-install-SQL-off:
101
post-install-SQL-off:
102
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/bdb-sql
102
	${RM} -r ${STAGEDIR}${DOCSDIR}/bdb-sql
103
103
104
post-install-TCL-on:
104
post-install-TCL-on:
105
	echo "package ifneeded Db_tcl ${BDBVER} \
105
	echo "package ifneeded Db_tcl ${BDBVER} \
Lines 108-114 post-install-TCL-on: Link Here
108
108
109
post-install-TCL-off:
109
post-install-TCL-off:
110
.for i in api_reference/TCL
110
.for i in api_reference/TCL
111
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/${i}
111
	${RM} -r ${STAGEDIR}${DOCSDIR}/${i}
112
.endfor
112
.endfor
113
113
114
.include <bsd.port.mk>
114
.include <bsd.port.mk>
(-)databases/db6/Makefile (-4 / +4 lines)
Lines 81-93 post-install: Link Here
81
	for i in *; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
81
	for i in *; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
82
82
83
post-install-JAVA-off:
83
post-install-JAVA-off:
84
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/java
84
	${RM} -r ${STAGEDIR}${DOCSDIR}/java
85
.for i in gsg gsg_db_rep gsg_txn
85
.for i in gsg gsg_db_rep gsg_txn
86
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/${i}/JAVA
86
	${RM} -r ${STAGEDIR}${DOCSDIR}/${i}/JAVA
87
.endfor
87
.endfor
88
88
89
post-install-SQL-off:
89
post-install-SQL-off:
90
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/bdb-sql
90
	${RM} -r ${STAGEDIR}${DOCSDIR}/bdb-sql
91
91
92
post-install-SQL-on:
92
post-install-SQL-on:
93
	${INSTALL_SCRIPT} ${WRKSRC}/../lang/sql/upgrade61.sh \
93
	${INSTALL_SCRIPT} ${WRKSRC}/../lang/sql/upgrade61.sh \
Lines 100-106 post-install-TCL-on: Link Here
100
100
101
post-install-TCL-off:
101
post-install-TCL-off:
102
.for i in api_reference/TCL
102
.for i in api_reference/TCL
103
	${RM} -r -f ${STAGEDIR}${DOCSDIR}/${i}
103
	${RM} -r ${STAGEDIR}${DOCSDIR}/${i}
104
.endfor
104
.endfor
105
105
106
.include <bsd.port.mk>
106
.include <bsd.port.mk>
(-)databases/dbconnect/Makefile (-1 / +1 lines)
Lines 33-39 PGSQL_CONFIGURE_ON= --enable-pgsql=yes \ Link Here
33
			--with-pgsql_lib=${LOCALBASE}/lib
33
			--with-pgsql_lib=${LOCALBASE}/lib
34
34
35
post-patch:
35
post-patch:
36
	@${RM} -f ${WRKSRC}/include/dbconn/README
36
	@${RM} ${WRKSRC}/include/dbconn/README
37
	@${REINPLACE_CMD} 's|gcc|${CC}|' \
37
	@${REINPLACE_CMD} 's|gcc|${CC}|' \
38
		${WRKSRC}/src/dbconnect/Makefile.in \
38
		${WRKSRC}/src/dbconnect/Makefile.in \
39
		${WRKSRC}/src/driver_*/Makefile.in
39
		${WRKSRC}/src/driver_*/Makefile.in
(-)databases/libodbc++/Makefile (-1 / +1 lines)
Lines 28-34 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} Link Here
28
PORTDOCS=	progref
28
PORTDOCS=	progref
29
29
30
post-extract:
30
post-extract:
31
	${RM} -f ${WRKSRC}/doc/progref/progref-stamp
31
	${RM} ${WRKSRC}/doc/progref/progref-stamp
32
32
33
post-patch:
33
post-patch:
34
	@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure
34
	@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure
(-)databases/mariadb100-client/Makefile (-1 / +1 lines)
Lines 21-26 CLIENT_ONLY= yes Link Here
21
21
22
post-stage:
22
post-stage:
23
	${RM} ${STAGEDIR}${PREFIX}/share/aclocal/mysql.m4
23
	${RM} ${STAGEDIR}${PREFIX}/share/aclocal/mysql.m4
24
	${RM} -rf ${STAGEDIR}${PREFIX}/include/mysql/private
24
	${RM} -r ${STAGEDIR}${PREFIX}/include/mysql/private
25
25
26
.include "${MASTERDIR}/Makefile"
26
.include "${MASTERDIR}/Makefile"
(-)databases/mariadb100-server/Makefile (-1 / +1 lines)
Lines 154-160 USE_GCC= yes Link Here
154
.endif
154
.endif
155
155
156
post-extract-OQGRAPH-off:
156
post-extract-OQGRAPH-off:
157
	@${RM} -rf ${WRKSRC}/storage/oqgraph
157
	@${RM} -r ${WRKSRC}/storage/oqgraph
158
158
159
post-patch:
159
post-patch:
160
	@${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt
160
	@${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt
(-)databases/mariadb55-server/Makefile (-1 / +1 lines)
Lines 117-123 USE_GCC= yes Link Here
117
.endif
117
.endif
118
118
119
post-extract-OQGRAPH-off:
119
post-extract-OQGRAPH-off:
120
	@${RM} -rf ${WRKSRC}/storage/oqgraph
120
	@${RM} -r ${WRKSRC}/storage/oqgraph
121
121
122
post-patch:
122
post-patch:
123
	@${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt
123
	@${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt
(-)databases/mysql++1/Makefile (-1 / +1 lines)
Lines 38-43 post-install: Link Here
38
		${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \
38
		${SED} -e "s|/usr/include/mysql|${LOCALBASE}/include/mysql|" | \
39
		${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \
39
		${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \
40
		> ${STAGEDIR}${EXAMPLESDIR}/Makefile
40
		> ${STAGEDIR}${EXAMPLESDIR}/Makefile
41
	@${RM} -f ${STAGEDIR}${EXAMPLESDIR}/Makefile.temp
41
	@${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile.temp
42
42
43
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)databases/mysql-connector-c++/Makefile (-1 / +1 lines)
Lines 31-37 CMAKE_ARGS+=-DCMAKE_ENABLE_C++11=ON Link Here
31
.endif
31
.endif
32
32
33
post-install:
33
post-install:
34
	@${RM} -f ${STAGEDIR}${DOCSDIR}/INSTALL \
34
	@${RM} ${STAGEDIR}${DOCSDIR}/INSTALL \
35
		${STAGEDIR}${DOCSDIR}/COPYING
35
		${STAGEDIR}${DOCSDIR}/COPYING
36
36
37
.if defined(MAINTAINER_MODE)
37
.if defined(MAINTAINER_MODE)
(-)databases/mysql57-server/Makefile (-1 / +1 lines)
Lines 148-154 CMAKE_ARGS+= -DWITH_SSL=${OPENSSLBASE} Link Here
148
.endif
148
.endif
149
149
150
post-extract:
150
post-extract:
151
	@${RM} -rvf ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h
151
	@${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h
152
152
153
post-patch:
153
post-patch:
154
	@${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt
154
	@${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt
(-)databases/p5-DBD-SQLite2/Makefile (-1 / +1 lines)
Lines 20-26 USES= perl5 Link Here
20
USE_PERL5=	configure
20
USE_PERL5=	configure
21
21
22
post-patch:
22
post-patch:
23
	@${RM} -f ${WRKSRC}/getsqlite.pl
23
	@${RM} ${WRKSRC}/getsqlite.pl
24
24
25
post-install:
25
post-install:
26
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/SQLite2/SQLite2.so
26
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/SQLite2/SQLite2.so
(-)databases/pgfouine/Makefile (-1 / +1 lines)
Lines 19-25 pre-configure: Link Here
19
	${REINPLACE_CMD} -e 's,/usr/bin/php,${LOCALBASE}/bin/php,g;' \
19
	${REINPLACE_CMD} -e 's,/usr/bin/php,${LOCALBASE}/bin/php,g;' \
20
		-e 's,!!PREFIX!!,${PREFIX},g' \
20
		-e 's,!!PREFIX!!,${PREFIX},g' \
21
		${WRKSRC}/pgfouine.php ${WRKSRC}/pgfouine_vacuum.php
21
		${WRKSRC}/pgfouine.php ${WRKSRC}/pgfouine_vacuum.php
22
	${FIND} -d ${WRKSRC} -type d -name 'CVS' -exec ${RM} -rf {} \;
22
	${FIND} -d ${WRKSRC} -type d -name 'CVS' -exec ${RM} -r {} \;
23
23
24
do-install:
24
do-install:
25
	${INSTALL_SCRIPT} ${WRKSRC}/pgfouine.php ${STAGEDIR}${PREFIX}/bin/pgfouine
25
	${INSTALL_SCRIPT} ${WRKSRC}/pgfouine.php ${STAGEDIR}${PREFIX}/bin/pgfouine
(-)databases/pgmodeler/Makefile (-1 / +1 lines)
Lines 30-35 pre-install: Link Here
30
	@${MKDIR} ${STAGEDIR}/${LOCALBASE}/lib/${PORTNAME}/plugins
30
	@${MKDIR} ${STAGEDIR}/${LOCALBASE}/lib/${PORTNAME}/plugins
31
31
32
post-install:
32
post-install:
33
	@${RM} -f ${STAGEDIR}${PREFIX}/bin/tests
33
	@${RM} ${STAGEDIR}${PREFIX}/bin/tests
34
34
35
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)databases/phppgadmin/Makefile (-1 / +1 lines)
Lines 32-38 pre-everything:: Link Here
32
do-configure:
32
do-configure:
33
	${REINPLACE_CMD} -e "s|/usr/bin/pg|${LOCALBASE}/bin/pg|" \
33
	${REINPLACE_CMD} -e "s|/usr/bin/pg|${LOCALBASE}/bin/pg|" \
34
		${WRKSRC}/conf/config.inc.php-dist
34
		${WRKSRC}/conf/config.inc.php-dist
35
	${RM} -f ${WRKSRC}/conf/config.inc.php \
35
	${RM} ${WRKSRC}/conf/config.inc.php \
36
		${WRKSRC}/conf/config.inc.php-dist.bak
36
		${WRKSRC}/conf/config.inc.php-dist.bak
37
37
38
do-install:
38
do-install:
(-)databases/py-carbon/Makefile (-1 / +1 lines)
Lines 22-28 USE_GITHUB= yes Link Here
22
GH_ACCOUNT=	graphite-project
22
GH_ACCOUNT=	graphite-project
23
23
24
post-stage:
24
post-stage:
25
	${RM} -rf ${STAGEDIR}${PREFIX}/examples/init.d
25
	${RM} -r ${STAGEDIR}${PREFIX}/examples/init.d
26
	${RMDIR} ${STAGEDIR}${PREFIX}/examples
26
	${RMDIR} ${STAGEDIR}${PREFIX}/examples
27
27
28
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)databases/py-pymssql/Makefile (-1 / +1 lines)
Lines 20-26 USES= python Link Here
20
USE_PYTHON=	autoplist distutils
20
USE_PYTHON=	autoplist distutils
21
21
22
post-extract:
22
post-extract:
23
	@${RM} -f ${WRKSRC}/_mssql.c
23
	@${RM} ${WRKSRC}/_mssql.c
24
24
25
post-install:
25
post-install:
26
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so \
26
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so \
(-)databases/riak/Makefile (-1 / +1 lines)
Lines 52-58 post-patch: Link Here
52
	@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/rel/vars.config
52
	@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/rel/vars.config
53
53
54
pre-install:
54
pre-install:
55
	${RM} -f ${PLIST}
55
	${RM} ${PLIST}
56
	${CAT} ${PKGDIR}/pkg-plist >> ${PLIST}
56
	${CAT} ${PKGDIR}/pkg-plist >> ${PLIST}
57
	(cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type f \
57
	(cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type f \
58
		| ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \
58
		| ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \
(-)databases/ruby-cdb/Makefile (-1 / +1 lines)
Lines 33-39 post-patch: Link Here
33
		${WRKSRC}/cdb.c
33
		${WRKSRC}/cdb.c
34
34
35
post-extract:
35
post-extract:
36
	${RM} -f ${WRKSRC}/cdb
36
	${RM} ${WRKSRC}/cdb
37
	${LN} -s `cd ${CDB_PORTDIR}; ${MAKE} -V WRKSRC` ${WRKSRC}/cdb
37
	${LN} -s `cd ${CDB_PORTDIR}; ${MAKE} -V WRKSRC` ${WRKSRC}/cdb
38
38
39
post-install:
39
post-install:
(-)databases/squirrel-sql/Makefile (-1 / +1 lines)
Lines 31-37 DESKTOP_ENTRIES="Squirrel-SQL Client" \ Link Here
31
		false
31
		false
32
32
33
post-extract:
33
post-extract:
34
	cd "${WRKSRC}" && ${RM} -rf Uninstaller *.bat *.sh .installationinformation
34
	cd "${WRKSRC}" && ${RM} -r Uninstaller *.bat *.sh .installationinformation
35
35
36
do-install:
36
do-install:
37
	${MKDIR} ${STAGEDIR}${DATADIR}
37
	${MKDIR} ${STAGEDIR}${DATADIR}
(-)deskutils/charmtimetracker/Makefile (-1 / +1 lines)
Lines 27-32 PORTDOCS= ReadMe.txt Link Here
27
OPTIONS_DEFINE=	DOCS
27
OPTIONS_DEFINE=	DOCS
28
28
29
post-install:
29
post-install:
30
	${RM} -f ${STAGEDIR}${DOCSDIR}/License.txt
30
	${RM} ${STAGEDIR}${DOCSDIR}/License.txt
31
31
32
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)deskutils/conkyemail/Makefile (-1 / +1 lines)
Lines 23-28 WRKSRC= ${WRKDIR}/src Link Here
23
post-patch:
23
post-patch:
24
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/${PORTNAME},${DATADIR},g' \
24
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/${PORTNAME},${DATADIR},g' \
25
		conkyEmail  conkyEmail.py setup.py example/conkyrc
25
		conkyEmail  conkyEmail.py setup.py example/conkyrc
26
	cd ${WRKSRC} && ${RM} -fr example/conkyrc.bak
26
	cd ${WRKSRC} && ${RM} -r example/conkyrc.bak
27
27
28
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)deskutils/conkyforecast/Makefile (-1 / +1 lines)
Lines 39-45 post-patch: Link Here
39
	@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env,g' \
39
	@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env,g' \
40
		conkyForecast \
40
		conkyForecast \
41
		conkyForecast-SunsetSunriseCountdown
41
		conkyForecast-SunsetSunriseCountdown
42
	@cd ${WRKSRC} && ${RM} -fr test/*.bak example/*.bak
42
	@cd ${WRKSRC} && ${RM} -r test/*.bak example/*.bak
43
43
44
post-install:
44
post-install:
45
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
45
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
(-)deskutils/docear/Makefile (-1 / +1 lines)
Lines 29-35 WRKSRC= ${WRKDIR}/docear-1.2.0.0_stable_build291 Link Here
29
SUB_FILES=	docear.desktop
29
SUB_FILES=	docear.desktop
30
30
31
do-install:
31
do-install:
32
	@${RM} -f ${WRKSRC}/docear.bat ${WRKSRC}/docear.exe ${WRKSRC}/*.bak
32
	@${RM} ${WRKSRC}/docear.bat ${WRKSRC}/docear.exe ${WRKSRC}/*.bak
33
# We can't install into $DOCSDIR or support disabling a DOCS option
33
# We can't install into $DOCSDIR or support disabling a DOCS option
34
# since the documentation is an integral part of the installation,
34
# since the documentation is an integral part of the installation,
35
# such as online help via the program menus.
35
# such as online help via the program menus.
(-)deskutils/gnome-shell-extension-backslide/Makefile (-1 / +1 lines)
Lines 42-48 do-install: Link Here
42
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
42
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
43
	@(cd ${WRKSRC} && ${CP} backslide\@codeisland.org/schemas/org.gnome.shell.extensions.backslide.gschema.xml \
43
	@(cd ${WRKSRC} && ${CP} backslide\@codeisland.org/schemas/org.gnome.shell.extensions.backslide.gschema.xml \
44
		${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/)
44
		${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/)
45
	@${RM} -fr ${WRKSRC}/backslide\@codeisland.org/schemas
45
	@${RM} -r ${WRKSRC}/backslide\@codeisland.org/schemas
46
	@(cd ${WRKSRC} && ${CP} -pPR backslide\@codeisland.org \
46
	@(cd ${WRKSRC} && ${CP} -pPR backslide\@codeisland.org \
47
		${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/)
47
		${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/)
48
48
(-)deskutils/gnome-shell-extension-coverflow/Makefile (-1 / +1 lines)
Lines 34-40 do-install: Link Here
34
		@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
34
		@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
35
		@(cd ${WRKSRC} && ${CP} CoverflowAltTab\@dmo60.de/schemas/org.gnome.shell.extensions.coverflowalttab.gschema.xml \
35
		@(cd ${WRKSRC} && ${CP} CoverflowAltTab\@dmo60.de/schemas/org.gnome.shell.extensions.coverflowalttab.gschema.xml \
36
			${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/)
36
			${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/)
37
		@${RM} -fr ${WRKSRC}/CoverflowAltTab\@dmo60.de/schemas
37
		@${RM} -r ${WRKSRC}/CoverflowAltTab\@dmo60.de/schemas
38
		@(cd ${WRKSRC} && ${CP} -pPR CoverflowAltTab\@dmo60.de ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/)
38
		@(cd ${WRKSRC} && ${CP} -pPR CoverflowAltTab\@dmo60.de ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/)
39
39
40
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)deskutils/gnome-shell-extension-hidetopbar/Makefile (-1 / +1 lines)
Lines 34-40 do-install: Link Here
34
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca
34
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca
35
	${INSTALL_DATA} ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml \
35
	${INSTALL_DATA} ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml \
36
		${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
36
		${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
37
	@${RM} -fr ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml
37
	@${RM} -r ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml
38
	cd ${WRKSRC} && ${COPYTREE_SHARE} . \
38
	cd ${WRKSRC} && ${COPYTREE_SHARE} . \
39
		${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/
39
		${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/
40
40
(-)deskutils/gnome-shell-extension-lockkeys/Makefile (-1 / +1 lines)
Lines 33-39 do-install: Link Here
33
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
33
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
34
	${INSTALL_DATA} ${WRKSRC}/lockkeys\@vaina.lt/schemas/org.gnome.shell.extensions.lockkeys.gschema.xml \
34
	${INSTALL_DATA} ${WRKSRC}/lockkeys\@vaina.lt/schemas/org.gnome.shell.extensions.lockkeys.gschema.xml \
35
		${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
35
		${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
36
	@${RM} -fr ${WRKSRC}/lockkeys\@vaina.lt/schemas/
36
	@${RM} -r ${WRKSRC}/lockkeys\@vaina.lt/schemas/
37
	cd ${WRKSRC} && ${COPYTREE_SHARE} lockkeys\@vaina.lt \
37
	cd ${WRKSRC} && ${COPYTREE_SHARE} lockkeys\@vaina.lt \
38
		${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
38
		${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
39
39
(-)deskutils/gnome-shell-extension-overlay-icons/Makefile (-1 / +1 lines)
Lines 34-40 do-install: Link Here
34
		@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
34
		@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
35
		cd ${WRKSRC} && ${INSTALL_DATA} ${WRKSRC}/windowoverlay-icons/schemas/org.gnome.shell.extensions.windowoverlay-icons.gschema.xml \
35
		cd ${WRKSRC} && ${INSTALL_DATA} ${WRKSRC}/windowoverlay-icons/schemas/org.gnome.shell.extensions.windowoverlay-icons.gschema.xml \
36
			${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
36
			${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
37
		@${RM} -fr ${WRKSRC}/windowoverlay-icons/schemas/
37
		@${RM} -r ${WRKSRC}/windowoverlay-icons/schemas/
38
		cd ${WRKSRC}/windowoverlay-icons && ${COPYTREE_SHARE} . \
38
		cd ${WRKSRC}/windowoverlay-icons && ${COPYTREE_SHARE} . \
39
			${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/windowoverlay-icons@sustmidown.centrum.cz
39
			${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/windowoverlay-icons@sustmidown.centrum.cz
40
40
(-)deskutils/gworkspace/Makefile (-1 / +1 lines)
Lines 27-32 USES+= ghostscript Link Here
27
.endif
27
.endif
28
28
29
pre-configure:
29
pre-configure:
30
	${RM} -rf ${WRKSRC}/GWMetadata
30
	${RM} -r ${WRKSRC}/GWMetadata
31
31
32
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)deskutils/myitcrm/Makefile (-1 / +1 lines)
Lines 52-58 trace-distfile: distclean Link Here
52
	@cd ${.CURDIR} && make FETCH_ARGS=-vFpr makesum
52
	@cd ${.CURDIR} && make FETCH_ARGS=-vFpr makesum
53
53
54
rm-install:
54
rm-install:
55
	${SU_CMD} '${RM} -rf ${WWWDIR}/install'
55
	${SU_CMD} '${RM} -r ${WWWDIR}/install'
56
56
57
.endif
57
.endif
58
58
(-)deskutils/plans/Makefile (-2 / +2 lines)
Lines 47-53 SUB_FILES= pkg-message Link Here
47
post-extract:
47
post-extract:
48
	@${CP} ${_DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif
48
	@${CP} ${_DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif
49
	@${CP} ${_DISTDIR}/*.pl ${WRKSRC}/
49
	@${CP} ${_DISTDIR}/*.pl ${WRKSRC}/
50
	@${RM} -rf ${WRKSRC}/theme/us_english.pl
50
	@${RM} -r ${WRKSRC}/theme/us_english.pl
51
	@for i in ${WRKSRC}/data/*xml ${WRKSRC}/*config.pl;\
51
	@for i in ${WRKSRC}/data/*xml ${WRKSRC}/*config.pl;\
52
		do ${MV} $$i $$i.sample; done
52
		do ${MV} $$i $$i.sample; done
53
	@${SED} -e 's/iso-8859-1/utf-8/' ${WRKSRC}/us_english.pl >\
53
	@${SED} -e 's/iso-8859-1/utf-8/' ${WRKSRC}/us_english.pl >\
Lines 55-61 post-extract: Link Here
55
	@${TOUCH} ${WRKSRC}/theme/ical/.keep_me
55
	@${TOUCH} ${WRKSRC}/theme/ical/.keep_me
56
56
57
post-patch:
57
post-patch:
58
	@${RM} -f ${WRKSRC}/theme/plans.template.orig
58
	@${RM} ${WRKSRC}/theme/plans.template.orig
59
59
60
do-install:
60
do-install:
61
	@${MKDIR} ${STAGEDIR}${WWWDIR}
61
	@${MKDIR} ${STAGEDIR}${WWWDIR}
(-)devel/arduino/Makefile (-2 / +2 lines)
Lines 82-88 pre-patch: Link Here
82
.endif
82
.endif
83
83
84
post-patch:
84
post-patch:
85
	@${RM} -rf ${WRKSRC}/hardware/tools/
85
	@${RM} -r ${WRKSRC}/hardware/tools/
86
	@${MKDIR} ${WRKSRC}/hardware/tools/avr/
86
	@${MKDIR} ${WRKSRC}/hardware/tools/avr/
87
	@${LN} -s ${PREFIX}/bin ${WRKSRC}/hardware/tools/avr/bin
87
	@${LN} -s ${PREFIX}/bin ${WRKSRC}/hardware/tools/avr/bin
88
	@${LN} -s ${PREFIX}/etc ${WRKSRC}/hardware/tools/avr/etc
88
	@${LN} -s ${PREFIX}/etc ${WRKSRC}/hardware/tools/avr/etc
Lines 91-97 post-patch: Link Here
91
	@${LN} -s ${JAVA_HOME}/jre/lib/ext/RXTXcomm.jar ${WRKSRC}/lib/RXTXcomm.jar
91
	@${LN} -s ${JAVA_HOME}/jre/lib/ext/RXTXcomm.jar ${WRKSRC}/lib/RXTXcomm.jar
92
92
93
	@${MV} ${WRKSRC}/reference/img/logo.png ${WRKSRC}/
93
	@${MV} ${WRKSRC}/reference/img/logo.png ${WRKSRC}/
94
	@${RM} -rf ${WRKSRC}/reference/img/
94
	@${RM} -r ${WRKSRC}/reference/img/
95
95
96
do-install:
96
do-install:
97
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
97
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
(-)devel/arm-elf-binutils/Makefile (-1 / +1 lines)
Lines 23-29 post-install: Link Here
23
.endfor
23
.endfor
24
	cd ${WRKSRC}/libiberty ; ${CP} libiberty.a \
24
	cd ${WRKSRC}/libiberty ; ${CP} libiberty.a \
25
		${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/lib
25
		${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/lib
26
	${RM} -f ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info/*
26
	${RM} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info/*
27
	${RMDIR} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info
27
	${RMDIR} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info
28
28
29
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)devel/arm-none-eabi-gdb/Makefile (-1 / +1 lines)
Lines 20-26 CONFIGURE_ARGS= --target=arm-none-eabi --program-prefix=arm-none-eabi- --disable Link Here
20
		--disable-werror
20
		--disable-werror
21
21
22
pre-configure:
22
pre-configure:
23
	cd ${WRKSRC} ; ${RM} -rf dejagnu expect tcl texinfo
23
	cd ${WRKSRC} ; ${RM} -r dejagnu expect tcl texinfo
24
24
25
do-install:
25
do-install:
26
	${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
26
	${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
(-)devel/atf/Makefile (-1 / +1 lines)
Lines 33-39 PLIST_SUB+= TEST= Link Here
33
33
34
post-install:
34
post-install:
35
.if empty(PORT_OPTIONS:MTEST)
35
.if empty(PORT_OPTIONS:MTEST)
36
	@${RM} -rf ${STAGEDIR}${PREFIX}/tests
36
	@${RM} -r ${STAGEDIR}${PREFIX}/tests
37
.endif
37
.endif
38
38
39
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)devel/autoconf/Makefile (-1 / +1 lines)
Lines 36-42 post-patch: Link Here
36
			${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \
36
			${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \
37
						s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \
37
						s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \
38
		done)
38
		done)
39
	@(cd ${WRKSRC}/doc && ${RM} -f *.info)
39
	@(cd ${WRKSRC}/doc && ${RM} *.info)
40
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
40
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
41
		's|@PACKAGE@$$|@PACKAGE@-@VERSION@|'
41
		's|@PACKAGE@$$|@PACKAGE@-@VERSION@|'
42
42
(-)devel/avr-gdb/Makefile (-1 / +1 lines)
Lines 20-26 CONFIGURE_ARGS= --target=avr --program-prefix=avr --disable-nls \ Link Here
20
		--disable-werror
20
		--disable-werror
21
21
22
pre-configure:
22
pre-configure:
23
	cd ${WRKSRC} ; ${RM} -rf dejagnu expect tcl texinfo
23
	cd ${WRKSRC} ; ${RM} -r dejagnu expect tcl texinfo
24
24
25
do-install:
25
do-install:
26
	${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
26
	${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
(-)devel/avr-libc/Makefile (-1 / +1 lines)
Lines 63-69 post-patch: Link Here
63
.endif
63
.endif
64
64
65
do-install:
65
do-install:
66
		${RM} -f ${TMPPLIST}
66
		${RM} ${TMPPLIST}
67
.if ${PORT_OPTIONS:MDOXYGEN}
67
.if ${PORT_OPTIONS:MDOXYGEN}
68
		(cd ${BUILD_WRKSRC}/doc/api/avr-libc-user-manual && \
68
		(cd ${BUILD_WRKSRC}/doc/api/avr-libc-user-manual && \
69
		 ${FIND} . -type f \
69
		 ${FIND} . -type f \
(-)devel/binutils/Makefile (-3 / +3 lines)
Lines 101-118 post-install: Link Here
101
	${REINPLACE_CMD} '/#include "ansidecl.h"/d' ${STAGEDIR}${PREFIX}/include/bfd.h
101
	${REINPLACE_CMD} '/#include "ansidecl.h"/d' ${STAGEDIR}${PREFIX}/include/bfd.h
102
.else
102
.else
103
.if ${PKGNAMEPREFIX:S/-$//} != ${BUTARGET}
103
.if ${PKGNAMEPREFIX:S/-$//} != ${BUTARGET}
104
	${RM} -rf ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}
104
	${RM} -r ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}
105
.endif
105
.endif
106
	@if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then rm -rf ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi
106
	@if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then rm -rf ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi
107
	${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size
107
	${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size
108
.endif
108
.endif
109
.for tool in ${BUREMOVE}
109
.for tool in ${BUREMOVE}
110
	@${RM} -f ${STAGEDIR}${PREFIX}/bin/${BUTARGET}-${tool} \
110
	@${RM} ${STAGEDIR}${PREFIX}/bin/${BUTARGET}-${tool} \
111
	    ${STAGEDIR}${PREFIX}/man/man1/${BUTARGET}-${tool}.1 \
111
	    ${STAGEDIR}${PREFIX}/man/man1/${BUTARGET}-${tool}.1 \
112
	    ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/${tool}
112
	    ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/${tool}
113
.endfor
113
.endfor
114
.if defined(BUREMOVE) && ${BUREMOVE:Mld}
114
.if defined(BUREMOVE) && ${BUREMOVE:Mld}
115
	@${RM} -rf ${STAGEDIR}${PREFIX}/${BUTARGET}/lib/ldscripts
115
	@${RM} -r ${STAGEDIR}${PREFIX}/${BUTARGET}/lib/ldscripts
116
.endif
116
.endif
117
117
118
.include <bsd.port.post.mk>
118
.include <bsd.port.post.mk>
(-)devel/bison/Makefile (-1 / +1 lines)
Lines 30-36 NLS_CONFIGURE_ENABLE= nls Link Here
30
OPTIONS_SUB=	yes
30
OPTIONS_SUB=	yes
31
31
32
post-extract:
32
post-extract:
33
	@${RM} -f ${WRKSRC}/doc/bison.info*
33
	@${RM} ${WRKSRC}/doc/bison.info*
34
	@${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in
34
	@${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in
35
35
36
PORTEXAMPLES=	calc++
36
PORTEXAMPLES=	calc++
(-)devel/boost_build/Makefile (-1 / +1 lines)
Lines 38-44 do-install: Link Here
38
		${STAGEDIR}${DATADIR})
38
		${STAGEDIR}${DATADIR})
39
	${INSTALL_MAN} ${WRKSRC}/boost.png \
39
	${INSTALL_MAN} ${WRKSRC}/boost.png \
40
		${STAGEDIR}${PREFIX}/share/doc/boost.png
40
		${STAGEDIR}${PREFIX}/share/doc/boost.png
41
	(cd ${WRKSRC}/doc && ${RM} -rf Jamfile.v2 project-root.jam \
41
	(cd ${WRKSRC}/doc && ${RM} -r Jamfile.v2 project-root.jam \
42
		html/userman_HTML.manifest src)
42
		html/userman_HTML.manifest src)
43
43
44
do-install-DOCS-on:
44
do-install-DOCS-on:
(-)devel/cil/Makefile (-1 / +1 lines)
Lines 85-91 do-install: Link Here
85
85
86
do-install-DOCS-on:
86
do-install-DOCS-on:
87
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
87
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
88
	@${RM} -rf ${WRKSRC}/doc/cilcode.tmp
88
	@${RM} -r ${WRKSRC}/doc/cilcode.tmp
89
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
89
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
90
90
91
.include <bsd.port.mk>
91
.include <bsd.port.mk>
(-)devel/cook/Makefile (-1 / +1 lines)
Lines 28-33 pre-install: Link Here
28
# cook installs extra copies of the manpages in a directory that MANLANG can't
28
# cook installs extra copies of the manpages in a directory that MANLANG can't
29
# cope with.  Delete the extra copies.
29
# cope with.  Delete the extra copies.
30
post-install:
30
post-install:
31
	@${RM} -rf ${STAGEDIR}${PREFIX}/share/cook/en/man1
31
	@${RM} -r ${STAGEDIR}${PREFIX}/share/cook/en/man1
32
32
33
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)devel/ddd/Makefile (-2 / +2 lines)
Lines 42-49 LIBXMDIR= ${LOCALBASE} Link Here
42
.endif
42
.endif
43
43
44
pre-patch:
44
pre-patch:
45
	@${RM} -fv ${WRKSRC}/ddd/ddd.info*
45
	@${RM}v ${WRKSRC}/ddd/ddd.info*
46
	@${RM} -fv ${WRKSRC}/ddd/ddd-themes.info*
46
	@${RM}v ${WRKSRC}/ddd/ddd-themes.info*
47
47
48
pre-configure:
48
pre-configure:
49
	@${FIND} ${WRKSRC} -name configure | ${XARGS} \
49
	@${FIND} ${WRKSRC} -name configure | ${XARGS} \
(-)devel/efl/Makefile (-1 / +1 lines)
Lines 158-164 pre-patch: Link Here
158
		${WRKSRC}/Makefile.am
158
		${WRKSRC}/Makefile.am
159
159
160
post-stage:
160
post-stage:
161
	${RM} -rf ${STAGEDIR}${PREFIX}/share/gdb
161
	${RM} -r ${STAGEDIR}${PREFIX}/share/gdb
162
	for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \
162
	for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \
163
	    if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \
163
	    if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \
164
	done
164
	done
(-)devel/fam/Makefile (-1 / +1 lines)
Lines 31-37 post-patch: Link Here
31
	${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/libfam/Makefile.am
31
	${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/libfam/Makefile.am
32
32
33
pre-configure:
33
pre-configure:
34
	${RM} -fr ${WRKSRC}/util
34
	${RM} -r ${WRKSRC}/util
35
	${MV} ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.am.orig
35
	${MV} ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.am.orig
36
	${SED} -e s/util// -e /SUBDIRS/q \
36
	${SED} -e s/util// -e /SUBDIRS/q \
37
		<${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
37
		<${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
(-)devel/gcc-arm-embedded/Makefile (-3 / +3 lines)
Lines 115-126 post-extract: Link Here
115
	@${TAR} -xf ${SRC_DIR}/newlib.tar.bz2 -C ${SRC_DIR}
115
	@${TAR} -xf ${SRC_DIR}/newlib.tar.bz2 -C ${SRC_DIR}
116
116
117
do-configure:
117
do-configure:
118
	@${RM} -rf ${BUILD_DIR}
118
	@${RM} -r ${BUILD_DIR}
119
	@${MKDIR} ${BUILD_DIR}
119
	@${MKDIR} ${BUILD_DIR}
120
	@${RM} -rf ${INTERIM_PREFIX}
120
	@${RM} -r ${INTERIM_PREFIX}
121
	@${MKDIR} ${INTERIM_PREFIX}
121
	@${MKDIR} ${INTERIM_PREFIX}
122
	@${CP} ${FILESDIR}/Makefile ${WRKDIR}
122
	@${CP} ${FILESDIR}/Makefile ${WRKDIR}
123
	@${RM} -f ${WRKDIR}/Makefile.inc
123
	@${RM} ${WRKDIR}/Makefile.inc
124
.for VAR in ${VAR_TO_SUBMAKE}
124
.for VAR in ${VAR_TO_SUBMAKE}
125
	@${ECHO} '${VAR}=${${VAR}}' >> ${WRKDIR}/Makefile.inc
125
	@${ECHO} '${VAR}=${${VAR}}' >> ${WRKDIR}/Makefile.inc
126
.endfor
126
.endfor
(-)devel/gcc-msp430-ti-toolchain/Makefile (-3 / +3 lines)
Lines 110-120 pre-extract: Link Here
110
110
111
# Till we don't have Insight, we don't need to build tcl anyway
111
# Till we don't have Insight, we don't need to build tcl anyway
112
post-patch:
112
post-patch:
113
	@${RM} -rf ${WRKSRC}/tcl ${WRKSRC}/tk ${WRKSRC}/itcl \
113
	@${RM} -r ${WRKSRC}/tcl ${WRKSRC}/tk ${WRKSRC}/itcl \
114
		${WRKSRC}/libgui
114
		${WRKSRC}/libgui
115
115
116
post-patch-PURE-off:
116
post-patch-PURE-off:
117
	@${RM} -rf ${WRKSRC}/gmp ${WRKSRC}/mpfr ${WRKSRC}/mpc
117
	@${RM} -r ${WRKSRC}/gmp ${WRKSRC}/mpfr ${WRKSRC}/mpc
118
118
119
post-stage:
119
post-stage:
120
	@${ECHO_MSG} "Remove unneeded host files..."
120
	@${ECHO_MSG} "Remove unneeded host files..."
Lines 122-128 post-stage: Link Here
122
		${RM} "${STAGEDIR}${GNU_CONFIGURE_PREFIX}/$$f" ; \
122
		${RM} "${STAGEDIR}${GNU_CONFIGURE_PREFIX}/$$f" ; \
123
	done
123
	done
124
	@for f in ${UNNEEDED_HOST_DIRS} ; do \
124
	@for f in ${UNNEEDED_HOST_DIRS} ; do \
125
		${RM} -rf "${STAGEDIR}${GNU_CONFIGURE_PREFIX}/$$f" ; \
125
		${RM} -r "${STAGEDIR}${GNU_CONFIGURE_PREFIX}/$$f" ; \
126
	done
126
	done
127
	@${ECHO_MSG} "Install devices' headers and linker scripts..."
127
	@${ECHO_MSG} "Install devices' headers and linker scripts..."
128
	@${MKDIR} ${STAGEDIR}${GNU_CONFIGURE_PREFIX}/include
128
	@${MKDIR} ${STAGEDIR}${GNU_CONFIGURE_PREFIX}/include
(-)devel/git/Makefile (-1 / +1 lines)
Lines 183-189 post-install: Link Here
183
	# recreate it after. This is necessary because the distfile is
183
	# recreate it after. This is necessary because the distfile is
184
	# extracted with --no-same-owner. If the distfile is extracted as a
184
	# extracted with --no-same-owner. If the distfile is extracted as a
185
	# non-root user then the symlink will have the incorrect owner.
185
	# non-root user then the symlink will have the incorrect owner.
186
	${RM} -f ${WRKDIR}/htmldocs/index.html
186
	${RM} ${WRKDIR}/htmldocs/index.html
187
	${MKDIR} ${STAGEDIR}${DOCSDIR}
187
	${MKDIR} ${STAGEDIR}${DOCSDIR}
188
	(cd ${WRKDIR}/htmldocs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
188
	(cd ${WRKDIR}/htmldocs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
189
	${LN} -s git.html ${STAGEDIR}${DOCSDIR}/index.html
189
	${LN} -s git.html ${STAGEDIR}${DOCSDIR}/index.html
(-)devel/glademm/Makefile (-1 / +1 lines)
Lines 20-26 PLIST_FILES= bin/glade-- bin/glademm-embed Link Here
20
.include <bsd.port.pre.mk>
20
.include <bsd.port.pre.mk>
21
21
22
post-patch:
22
post-patch:
23
	@${RM} -f ${WRKSRC}/src/getopt.*
23
	@${RM} ${WRKSRC}/src/getopt.*
24
	@${REINPLACE_CMD} \
24
	@${REINPLACE_CMD} \
25
		-Ee '/^@AMDEP/!s|getopt([^[:space:]])+||g' \
25
		-Ee '/^@AMDEP/!s|getopt([^[:space:]])+||g' \
26
		-Ee '/^@AMDEP(.)+getopt/d' \
26
		-Ee '/^@AMDEP(.)+getopt/d' \
(-)devel/gps/Makefile (-1 / +1 lines)
Lines 109-115 do-build: Link Here
109
	${PYTHON_CMD} ${PYCOMPILE} ${WRKSRC}/share/support
109
	${PYTHON_CMD} ${PYCOMPILE} ${WRKSRC}/share/support
110
110
111
post-install:
111
post-install:
112
	${RM} -rf ${STAGEDIR}${PREFIX}/share/doc/gps/html/*/_sources
112
	${RM} -r ${STAGEDIR}${PREFIX}/share/doc/gps/html/*/_sources
113
	${INSTALL_SCRIPT} ${WRKDIR}/gps ${STAGEDIR}${PREFIX}/bin
113
	${INSTALL_SCRIPT} ${WRKDIR}/gps ${STAGEDIR}${PREFIX}/bin
114
	echo "This is the GPS GPL Edition for the ${OPSYS} Ports Collection." \
114
	echo "This is the GPS GPL Edition for the ${OPSYS} Ports Collection." \
115
		> ${STAGEDIR}${PREFIX}/share/gps/about.txt
115
		> ${STAGEDIR}${PREFIX}/share/gps/about.txt
(-)devel/gvfs/Makefile (-1 / +1 lines)
Lines 94-99 PLIST_SUB+= HAL="@comment " Link Here
94
94
95
post-install:
95
post-install:
96
	@${MKDIR} ${STAGEDIR}${DATADIR}/remote-volume-monitors
96
	@${MKDIR} ${STAGEDIR}${DATADIR}/remote-volume-monitors
97
	@${RM} -rf ${STAGEDIR}${PREFIX}/lib/systemd
97
	@${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
98
98
99
.include <bsd.port.mk>
99
.include <bsd.port.mk>
(-)devel/kBuild/Makefile (-1 / +1 lines)
Lines 59-65 post-patch: Link Here
59
59
60
do-build:
60
do-build:
61
	cd ${WRKSRC} && ${SETENV} ${KBUILD_ENV} ./kBuild/env.sh --full ${MAKE_CMD} -f bootstrap.gmk
61
	cd ${WRKSRC} && ${SETENV} ${KBUILD_ENV} ./kBuild/env.sh --full ${MAKE_CMD} -f bootstrap.gmk
62
	cd ${WRKSRC} && ${RM} -rf out
62
	cd ${WRKSRC} && ${RM} -r out
63
	cd ${WRKSRC} && ./kBuild/env.sh kmk
63
	cd ${WRKSRC} && ./kBuild/env.sh kmk
64
	cd ${WRKSRC} && ./kBuild/env.sh kmk NIX_INSTALL_DIR=${PREFIX} BUILD_TYPE=release -C ${WRKSRC}
64
	cd ${WRKSRC} && ./kBuild/env.sh kmk NIX_INSTALL_DIR=${PREFIX} BUILD_TYPE=release -C ${WRKSRC}
65
65
(-)devel/lasi/Makefile (-1 / +1 lines)
Lines 53-59 post-install: Link Here
53
	@${RMDIR} ${STAGEDIR}${DATADIR}/examples
53
	@${RMDIR} ${STAGEDIR}${DATADIR}/examples
54
.endif
54
.endif
55
.if ! ${PORT_OPTIONS:MDOCS} && ! ${PORT_OPTIONS:MEXAMPLES}
55
.if ! ${PORT_OPTIONS:MDOCS} && ! ${PORT_OPTIONS:MEXAMPLES}
56
	@${RM} -rf ${STAGEDIR}${DATADIR}/*
56
	@${RM} -r ${STAGEDIR}${DATADIR}/*
57
.endif
57
.endif
58
	@${TEST} -d ${STAGEDIR}${DATADIR} && \
58
	@${TEST} -d ${STAGEDIR}${DATADIR} && \
59
		${RMDIR} ${STAGEDIR}${DATADIR} || ${TRUE}
59
		${RMDIR} ${STAGEDIR}${DATADIR} || ${TRUE}
(-)devel/liborcus07/Makefile (-1 / +1 lines)
Lines 30-35 CPPFLAGS+= -I${LOCALBASE}/include Link Here
30
LDFLAGS+=	-L${LOCALBASE}/lib
30
LDFLAGS+=	-L${LOCALBASE}/lib
31
31
32
post-stage:
32
post-stage:
33
	@${RM} -f ${STAGEDIR}${PREFIX}/bin/*
33
	@${RM} ${STAGEDIR}${PREFIX}/bin/*
34
34
35
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)devel/libsearpc/Makefile (-1 / +1 lines)
Lines 41-46 post-install: Link Here
41
	@${MKDIR} ${STAGEDIR}${SEALIB}
41
	@${MKDIR} ${STAGEDIR}${SEALIB}
42
	(cd ${STAGEDIR}${PREFIX}/lib && \
42
	(cd ${STAGEDIR}${PREFIX}/lib && \
43
		${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB})
43
		${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB})
44
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}
44
	${RM} -r ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}
45
45
46
.include <bsd.port.mk>
46
.include <bsd.port.mk>
(-)devel/libtool/Makefile (-1 / +1 lines)
Lines 22-28 USES+= makeinfo Link Here
22
INFO=		libtool
22
INFO=		libtool
23
23
24
post-patch:
24
post-patch:
25
	@${RM} -f ${WRKSRC}/doc/*.info*
25
	@${RM} ${WRKSRC}/doc/*.info*
26
	@${TOUCH} ${WRKSRC}/doc/libtool.1
26
	@${TOUCH} ${WRKSRC}/doc/libtool.1
27
27
28
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)devel/llvm-cheri/Makefile (-2 / +2 lines)
Lines 213-219 regression-test: ${BUILD_COOKIE} Link Here
213
	fi
213
	fi
214
214
215
build-plist:
215
build-plist:
216
	${RM} -f ${PLIST} ${PLIST}.tmp
216
	${RM} ${PLIST} ${PLIST}.tmp
217
.for command in ${COMMANDS}
217
.for command in ${COMMANDS}
218
	${ECHO_CMD} bin/${COMMAND_PREFIX}${command}%%COMMAND_SUFFIX%% >> ${PLIST}.tmp
218
	${ECHO_CMD} bin/${COMMAND_PREFIX}${command}%%COMMAND_SUFFIX%% >> ${PLIST}.tmp
219
.endfor
219
.endfor
Lines 234-240 build-plist: Link Here
234
	    -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \
234
	    -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \
235
	    ${SORT} >> ${PLIST}.tmp
235
	    ${SORT} >> ${PLIST}.tmp
236
	awk '{if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} print}' ${PLIST}.tmp >> ${PLIST}
236
	awk '{if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} print}' ${PLIST}.tmp >> ${PLIST}
237
	${RM} -f ${PLIST}.tmp
237
	${RM} ${PLIST}.tmp
238
238
239
check-commands:
239
check-commands:
240
.for command in ${COMMANDS}
240
.for command in ${COMMANDS}
(-)devel/llvm-devel/Makefile (-1 / +1 lines)
Lines 364-370 regression-test: ${BUILD_COOKIE} Link Here
364
	fi
364
	fi
365
365
366
build-plist:
366
build-plist:
367
	${RM} -f ${PLIST} ${PLIST}.tmp
367
	${RM} ${PLIST} ${PLIST}.tmp
368
.for command in ${COMMANDS}
368
.for command in ${COMMANDS}
369
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
369
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
370
.endfor
370
.endfor
(-)devel/llvm33/Makefile (-1 / +1 lines)
Lines 241-247 regression-test: ${BUILD_COOKIE} Link Here
241
	fi
241
	fi
242
242
243
build-plist:
243
build-plist:
244
	${RM} -f ${PLIST}
244
	${RM} ${PLIST}
245
.for command in ${COMMANDS}
245
.for command in ${COMMANDS}
246
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}
246
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}
247
.endfor
247
.endfor
(-)devel/llvm34/Makefile (-1 / +1 lines)
Lines 246-252 regression-test: ${BUILD_COOKIE} Link Here
246
	fi
246
	fi
247
247
248
build-plist:
248
build-plist:
249
	${RM} -f ${PLIST}
249
	${RM} ${PLIST}
250
.for command in ${COMMANDS}
250
.for command in ${COMMANDS}
251
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
251
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
252
.endfor
252
.endfor
(-)devel/llvm35/Makefile (-1 / +1 lines)
Lines 244-250 regression-test: ${BUILD_COOKIE} Link Here
244
	fi
244
	fi
245
245
246
build-plist:
246
build-plist:
247
	${RM} -f ${PLIST}
247
	${RM} ${PLIST}
248
.for command in ${COMMANDS}
248
.for command in ${COMMANDS}
249
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
249
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
250
.endfor
250
.endfor
(-)devel/llvm36/Makefile (-1 / +1 lines)
Lines 250-256 regression-test: ${BUILD_COOKIE} Link Here
250
	fi
250
	fi
251
251
252
build-plist:
252
build-plist:
253
	${RM} -f ${PLIST}
253
	${RM} ${PLIST}
254
.for command in ${COMMANDS}
254
.for command in ${COMMANDS}
255
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
255
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
256
.endfor
256
.endfor
(-)devel/llvm37/Makefile (-2 / +2 lines)
Lines 368-374 regression-test: ${BUILD_COOKIE} Link Here
368
	fi
368
	fi
369
369
370
build-plist:
370
build-plist:
371
	${RM} -f ${PLIST} ${PLIST}.tmp
371
	${RM} ${PLIST} ${PLIST}.tmp
372
.for command in ${COMMANDS}
372
.for command in ${COMMANDS}
373
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
373
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
374
.endfor
374
.endfor
Lines 395-401 build-plist: Link Here
395
	    if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \
395
	    if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \
396
	    if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \
396
	    if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \
397
	    if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST}
397
	    if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST}
398
	${RM} -f ${PLIST}.tmp
398
	${RM} ${PLIST}.tmp
399
399
400
check-commands:
400
check-commands:
401
.for command in ${COMMANDS}
401
.for command in ${COMMANDS}
(-)devel/llvm38/Makefile (-2 / +2 lines)
Lines 393-399 regression-test: ${BUILD_COOKIE} Link Here
393
	fi
393
	fi
394
394
395
build-plist:
395
build-plist:
396
	${RM} -f ${PLIST} ${PLIST}.tmp
396
	${RM} ${PLIST} ${PLIST}.tmp
397
.for command in ${COMMANDS}
397
.for command in ${COMMANDS}
398
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
398
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
399
.endfor
399
.endfor
Lines 421-427 build-plist: Link Here
421
	    if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \
421
	    if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \
422
	    if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \
422
	    if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \
423
	    if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST}
423
	    if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST}
424
	${RM} -f ${PLIST}.tmp
424
	${RM} ${PLIST}.tmp
425
425
426
426
427
check-commands:
427
check-commands:
(-)devel/llvm39/Makefile (-1 / +1 lines)
Lines 398-404 regression-test: ${BUILD_COOKIE} Link Here
398
	fi
398
	fi
399
399
400
build-plist:
400
build-plist:
401
	${RM} -f ${PLIST} ${PLIST}.tmp
401
	${RM} ${PLIST} ${PLIST}.tmp
402
.for command in ${COMMANDS}
402
.for command in ${COMMANDS}
403
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
403
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp
404
.endfor
404
.endfor
(-)devel/lutok/Makefile (-1 / +1 lines)
Lines 53-59 PLIST_SUB+= TESTS="@comment " Link Here
53
53
54
.if ! ${PORT_OPTIONS:MDOCS}
54
.if ! ${PORT_OPTIONS:MDOCS}
55
pre-install: .SILENT
55
pre-install: .SILENT
56
	${RM} -rf ${WRKSRC}/api-docs
56
	${RM} -r ${WRKSRC}/api-docs
57
.endif
57
.endif
58
58
59
.include <bsd.port.mk>
59
.include <bsd.port.mk>
(-)devel/maven3/Makefile (-1 / +1 lines)
Lines 29-35 INSTANCE_FILE= 030005-${PORTNAME}-${PORTVERSION} Link Here
29
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
29
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
30
30
31
post-extract:
31
post-extract:
32
	${RM} -f ${WRKSRC}/bin/*.bat
32
	${RM} ${WRKSRC}/bin/*.bat
33
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
33
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
34
34
35
do-install:
35
do-install:
(-)devel/maven31/Makefile (-1 / +1 lines)
Lines 30-36 INSTANCE_FILE= 030101-${PORTNAME}-${PORTVERSION} Link Here
30
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
30
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
31
31
32
post-extract:
32
post-extract:
33
	${RM} -f ${WRKSRC}/bin/*.bat
33
	${RM} ${WRKSRC}/bin/*.bat
34
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
34
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
35
35
36
do-install:
36
do-install:
(-)devel/maven33/Makefile (-1 / +1 lines)
Lines 28-34 INSTANCE_FILE= 030303-${PORTNAME}-${PORTVERSION} Link Here
28
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
28
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
29
29
30
post-extract:
30
post-extract:
31
	${RM} -f ${WRKSRC}/bin/*.bat
31
	${RM} ${WRKSRC}/bin/*.bat
32
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
32
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
33
33
34
do-install:
34
do-install:
(-)devel/mingw32-gcc/Makefile (-1 / +1 lines)
Lines 86-92 post-patch: Link Here
86
86
87
pre-configure:
87
pre-configure:
88
	cd ${SRCDIR} ; contrib/gcc_update --touch
88
	cd ${SRCDIR} ; contrib/gcc_update --touch
89
	@${RM} -f ${SRCDIR}/gcc/*/*.info*
89
	@${RM} ${SRCDIR}/gcc/*/*.info*
90
	@${MKDIR} ${CONFIGURE_WRKSRC}
90
	@${MKDIR} ${CONFIGURE_WRKSRC}
91
91
92
post-install:
92
post-install:
(-)devel/monotone/Makefile (-1 / +1 lines)
Lines 37-43 NLS_USES= gettext Link Here
37
NLS_CONFIGURE_OFF=	--disable-nls
37
NLS_CONFIGURE_OFF=	--disable-nls
38
38
39
post-extract:
39
post-extract:
40
	@${RM} -f ${WRKSRC}/monotone.info*
40
	@${RM} ${WRKSRC}/monotone.info*
41
41
42
post-patch:
42
post-patch:
43
	@${REINPLACE_CMD} \
43
	@${REINPLACE_CMD} \
(-)devel/ncurses/Makefile (-1 / +1 lines)
Lines 125-131 post-install: Link Here
125
. endfor
125
. endfor
126
.endfor
126
.endfor
127
127
128
	${RM} -f ${STAGEDIR}${PREFIX}/lib/libncurses.so \
128
	${RM} ${STAGEDIR}${PREFIX}/lib/libncurses.so \
129
		${STAGEDIR}${PREFIX}/lib/libncursesw.so
129
		${STAGEDIR}${PREFIX}/lib/libncursesw.so
130
	${ECHO} "INPUT(libncurses.so.${PORTVERSION:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so
130
	${ECHO} "INPUT(libncurses.so.${PORTVERSION:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so
131
	${ECHO} "INPUT(libncursesw.so.${PORTVERSION:R} AS_NEEDED(-ltinfow))" > ${STAGEDIR}${PREFIX}/lib/libncursesw.so
131
	${ECHO} "INPUT(libncursesw.so.${PORTVERSION:R} AS_NEEDED(-ltinfow))" > ${STAGEDIR}${PREFIX}/lib/libncursesw.so
(-)devel/p5-MooseX-Async/Makefile (-1 / +1 lines)
Lines 19-24 USES= perl5 Link Here
19
USE_PERL5=	configure
19
USE_PERL5=	configure
20
20
21
post-extract:
21
post-extract:
22
	@${RM} -f ${WRKSRC}/lib/MooseX/._Async.pm
22
	@${RM} ${WRKSRC}/lib/MooseX/._Async.pm
23
23
24
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)devel/p5-Parse-Pidl/Makefile (-1 / +1 lines)
Lines 29-34 PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} Link Here
29
WRKSRC=			${WRKDIR}/${DISTNAME}/pidl
29
WRKSRC=			${WRKDIR}/${DISTNAME}/pidl
30
30
31
post-extract:
31
post-extract:
32
			@${RM} -rf ${WRKSRC}/lib/Parse/Yapp ${WRKSRC}/lib/wscript_build
32
			@${RM} -r ${WRKSRC}/lib/Parse/Yapp ${WRKSRC}/lib/wscript_build
33
33
34
.include "${MASTERDIR}/Makefile"
34
.include "${MASTERDIR}/Makefile"
(-)devel/p5-PerlIO-via-symlink/Makefile (-1 / +1 lines)
Lines 21-26 USE_PERL5= configure Link Here
21
21
22
post-patch:
22
post-patch:
23
	# Really old M::I code
23
	# Really old M::I code
24
	${RM} -rf ${WRKSRC}/inc
24
	${RM} -r ${WRKSRC}/inc
25
25
26
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)devel/p5-System2/Makefile (-1 / +1 lines)
Lines 15-20 USES= perl5 Link Here
15
USE_PERL5=	configure
15
USE_PERL5=	configure
16
16
17
pre-configure:
17
pre-configure:
18
	${RM} -f ${WRKSRC}/io_test.pl
18
	${RM} ${WRKSRC}/io_test.pl
19
19
20
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)devel/p5-VCP-Source-cvsbk/Makefile (-1 / +1 lines)
Lines 21-26 USE_PERL5= configure Link Here
21
21
22
post-patch:
22
post-patch:
23
	# Really old M::I code
23
	# Really old M::I code
24
	${RM} -rf ${WRKSRC}/inc
24
	${RM} -r ${WRKSRC}/inc
25
25
26
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)devel/p5-VCP-autrijus/Makefile (-1 / +1 lines)
Lines 28-33 USES= perl5 Link Here
28
USE_PERL5=	configure
28
USE_PERL5=	configure
29
29
30
post-patch:
30
post-patch:
31
	${FIND} ${WRKSRC} -name "*.orig" -a -exec ${RM} -f {} \;
31
	${FIND} ${WRKSRC} -name "*.orig" -a -exec ${RM} {} \;
32
32
33
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)devel/pas2dox/Makefile (-1 / +1 lines)
Lines 33-39 post-patch: Link Here
33
		's|yy_flex_realloc|yyrealloc|' ${WRKSRC}/${PORTNAME}.l
33
		's|yy_flex_realloc|yyrealloc|' ${WRKSRC}/${PORTNAME}.l
34
34
35
pre-build:
35
pre-build:
36
	@${RM} -f ${WRKSRC}/${PORTNAME}.cpp
36
	@${RM} ${WRKSRC}/${PORTNAME}.cpp
37
37
38
do-install:
38
do-install:
39
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
39
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
(-)devel/pear/Makefile (-2 / +2 lines)
Lines 37-45 do-install: Link Here
37
		${STAGEDIR}${PEARDIR}/peclcmd.php
37
		${STAGEDIR}${PEARDIR}/peclcmd.php
38
# pear violates stage when staging as root, hide this
38
# pear violates stage when staging as root, hide this
39
.if defined(PACKAGE_BUILDING)
39
.if defined(PACKAGE_BUILDING)
40
	@${RM} -rf ${PEARDIR}
40
	@${RM} -r ${PEARDIR}
41
.endif
41
.endif
42
# Clean up orphans re-generated by pkg-install
42
# Clean up orphans re-generated by pkg-install
43
	@${RM} -rf ${STAGEDIR}${PEARDIR}/.depdb ${STAGEDIR}${PEARDIR}/.depdblock ${STAGEDIR}${PEARDIR}/.filemap ${STAGEDIR}${PEARDIR}/.lock
43
	@${RM} -r ${STAGEDIR}${PEARDIR}/.depdb ${STAGEDIR}${PEARDIR}/.depdblock ${STAGEDIR}${PEARDIR}/.filemap ${STAGEDIR}${PEARDIR}/.lock
44
44
45
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)devel/php-libawl/Makefile (-1 / +1 lines)
Lines 29-35 pre-everything:: Link Here
29
	@${ECHO_CMD} "# by setting LIBAWLDIR in /etc/make.conf"
29
	@${ECHO_CMD} "# by setting LIBAWLDIR in /etc/make.conf"
30
30
31
post-patch:
31
post-patch:
32
	${RM} -f ${WRKSRC}/inc/*.orig
32
	${RM} ${WRKSRC}/inc/*.orig
33
33
34
do-install:
34
do-install:
35
	${MKDIR} ${STAGEDIR}${PREFIX}/${LIBAWLDIR}
35
	${MKDIR} ${STAGEDIR}${PREFIX}/${LIBAWLDIR}
(-)devel/plan9port/Makefile (-2 / +2 lines)
Lines 79-86 do-build: Link Here
79
79
80
# Dynamic PLIST sucks, but it's over 8K lines, which sucks even more :(
80
# Dynamic PLIST sucks, but it's over 8K lines, which sucks even more :(
81
post-build:
81
post-build:
82
	${RM} -rf `${FIND} ${WRKSRC}/dist -type f ! -regex ".*\.png"`
82
	${RM} -r `${FIND} ${WRKSRC}/dist -type f ! -regex ".*\.png"`
83
	${RM} -rf `${FIND} ${WRKSRC} -name .hg -o -name .hgignore \
83
	${RM} -r `${FIND} ${WRKSRC} -name .hg -o -name .hgignore \
84
		-o -name .hgtags -o -name .cvsignore`
84
		-o -name .hgtags -o -name .cvsignore`
85
	@( cd ${WRKDIR} ; \
85
	@( cd ${WRKDIR} ; \
86
	  ${FIND} plan9 -type f; \
86
	  ${FIND} plan9 -type f; \
(-)devel/ptypes/Makefile (-2 / +2 lines)
Lines 29-36 DEBUG_VARS= DEBUG_FLAGS="-DDEBUG -g" Link Here
29
OPTIMIZED_CFLAGS_VARS=	PTYPES_CFLAGS+="-O2"
29
OPTIMIZED_CFLAGS_VARS=	PTYPES_CFLAGS+="-O2"
30
30
31
pre-install:
31
pre-install:
32
	@${RM} -f ${WRKSRC}/include/*.orig
32
	@${RM} ${WRKSRC}/include/*.orig
33
	@${RM} -f ${WRKSRC}/wshare/*.o ${WRKSRC}/wshare/*.orig
33
	@${RM} ${WRKSRC}/wshare/*.o ${WRKSRC}/wshare/*.orig
34
34
35
do-install:
35
do-install:
36
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/ptypes
36
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/ptypes
(-)devel/py-calendar/Makefile (-2 / +2 lines)
Lines 24-36 SVN_CMD2= svn export -r15423 Link Here
24
24
25
maint-gen-distfile:
25
maint-gen-distfile:
26
	@if [ ! -f "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ] ; then \
26
	@if [ ! -f "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ] ; then \
27
		${MKDIR} ${WRKDIR} ; cd ${WRKDIR} ; ${RM} -Rf ${WRKDIR}/${DISTNAME} ; \
27
		${MKDIR} ${WRKDIR} ; cd ${WRKDIR} ; ${RM} -R ${WRKDIR}/${DISTNAME} ; \
28
		${ECHO_MSG} "=> Checking out PyCalendar from svn.calendarserver.org/..."; \
28
		${ECHO_MSG} "=> Checking out PyCalendar from svn.calendarserver.org/..."; \
29
		${SVN_CMD2} ${SVN_REPOSITORY_URL}/${SVN_TAG2} > /dev/null ; \
29
		${SVN_CMD2} ${SVN_REPOSITORY_URL}/${SVN_TAG2} > /dev/null ; \
30
		${MV} trunk ${DISTNAME} ; \
30
		${MV} trunk ${DISTNAME} ; \
31
		${ECHO_MSG} "=> Creating tar archive ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \
31
		${ECHO_MSG} "=> Creating tar archive ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \
32
		cd ${WRKDIR} ; tar -czf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ; \
32
		cd ${WRKDIR} ; tar -czf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ; \
33
		${RM} -Rf ${WRKDIR}/${DISTNAME} ; \
33
		${RM} -R ${WRKDIR}/${DISTNAME} ; \
34
	else \
34
	else \
35
		${ECHO_MSG} "===>	${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} found." ; \
35
		${ECHO_MSG} "===>	${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} found." ; \
36
	fi
36
	fi
(-)devel/py-freezegun/Makefile (-1 / +1 lines)
Lines 25-31 USE_PYTHON= autoplist distutils Link Here
25
NO_ARCH=	yes
25
NO_ARCH=	yes
26
26
27
post-extract:
27
post-extract:
28
	${FIND} ${WRKSRC} -type d -name __pycache__ -or -type f -name '*.py[co]' -exec ${RM} -rf {} +
28
	${FIND} ${WRKSRC} -type d -name __pycache__ -or -type f -name '*.py[co]' -exec ${RM} -r {} +
29
29
30
do-test:
30
do-test:
31
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
31
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
(-)devel/py-funcparserlib/Makefile (-1 / +1 lines)
Lines 22-28 DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} Link Here
22
OPTIONS_DEFINE=	DOCS
22
OPTIONS_DEFINE=	DOCS
23
23
24
post-install:
24
post-install:
25
	@${RM} -f ${WRKSRC}/doc/Makefile
25
	@${RM} ${WRKSRC}/doc/Makefile
26
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
26
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
27
	cd ${INSTALL_WRKSRC} \
27
	cd ${INSTALL_WRKSRC} \
28
	  && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
28
	  && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
(-)devel/py-mongoengine/Makefile (-1 / +1 lines)
Lines 21-26 USE_PYTHON= autoplist distutils Link Here
21
21
22
# bson is provided by pymongo
22
# bson is provided by pymongo
23
post-patch:
23
post-patch:
24
	@${RM} -rf ${WRKSRC}/bson
24
	@${RM} -r ${WRKSRC}/bson
25
25
26
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)devel/py-protocols/Makefile (-1 / +1 lines)
Lines 16-21 USES= python Link Here
16
USE_PYTHON=	distutils autoplist
16
USE_PYTHON=	distutils autoplist
17
17
18
post-patch:
18
post-patch:
19
	@${RM} -rf ${WRKSRC}/setuptools
19
	@${RM} -r ${WRKSRC}/setuptools
20
20
21
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)devel/py-pytest-xdist/Makefile (-1 / +1 lines)
Lines 26-32 USE_PYTHON= autoplist concurrent distutils Link Here
26
NO_ARCH=	yes
26
NO_ARCH=	yes
27
27
28
post-extract:
28
post-extract:
29
	${RM} -rf ${WRKSRC}/testing/__pycache__
29
	${RM} -r ${WRKSRC}/testing/__pycache__
30
30
31
do-test:
31
do-test:
32
	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
32
	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
(-)devel/py-qt4-core/Makefile (-2 / +2 lines)
Lines 34-42 DEBUG_CONFIGURE_ON= --debug --trace Link Here
34
PLIST_SUB+=	PYTHON_MAJOR_VER="${PYTHON_MAJOR_VER}"
34
PLIST_SUB+=	PYTHON_MAJOR_VER="${PYTHON_MAJOR_VER}"
35
post-patch:
35
post-patch:
36
.if ${PYTHON_MAJOR_VER} == "2"
36
.if ${PYTHON_MAJOR_VER} == "2"
37
	${RM} -rf ${WRKSRC}/pyuic/uic/port_v3
37
	${RM} -r ${WRKSRC}/pyuic/uic/port_v3
38
.elif ${PYTHON_MAJOR_VER} == "3"
38
.elif ${PYTHON_MAJOR_VER} == "3"
39
	${RM} -rf ${WRKSRC}/pyuic/uic/port_v2
39
	${RM} -r ${WRKSRC}/pyuic/uic/port_v2
40
.endif
40
.endif
41
41
42
post-install:
42
post-install:
(-)devel/py-qt5-core/Makefile (-2 / +2 lines)
Lines 33-41 DEBUG_CONFIGURE_ON= --debug --trace Link Here
33
PLIST_SUB+=	PYTHON_MAJOR_VER="${PYTHON_MAJOR_VER}"
33
PLIST_SUB+=	PYTHON_MAJOR_VER="${PYTHON_MAJOR_VER}"
34
post-patch:
34
post-patch:
35
.if ${PYTHON_MAJOR_VER} == "2"
35
.if ${PYTHON_MAJOR_VER} == "2"
36
	${RM} -rf ${WRKSRC}/pyuic/uic/port_v3
36
	${RM} -r ${WRKSRC}/pyuic/uic/port_v3
37
.elif ${PYTHON_MAJOR_VER} == "3"
37
.elif ${PYTHON_MAJOR_VER} == "3"
38
	${RM} -rf ${WRKSRC}/pyuic/uic/port_v2
38
	${RM} -r ${WRKSRC}/pyuic/uic/port_v2
39
.endif
39
.endif
40
40
41
post-install:
41
post-install:
(-)devel/py-traits/Makefile (-1 / +1 lines)
Lines 23-28 LDFLAGS+= -L${LOCALBASE}/lib Link Here
23
23
24
post-extract:
24
post-extract:
25
# Remove traits/testing directory files are not compatible with Python 3
25
# Remove traits/testing directory files are not compatible with Python 3
26
	cd ${WRKSRC} && ${RM} -Rf traits/testing/
26
	cd ${WRKSRC} && ${RM} -R traits/testing/
27
27
28
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)devel/py-twext/Makefile (-2 / +2 lines)
Lines 38-50 SVN_CMD3= svn export -r15423 Link Here
38
38
39
maint-gen-distfile:
39
maint-gen-distfile:
40
	@if [ ! -f "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ] ; then \
40
	@if [ ! -f "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ] ; then \
41
		${MKDIR} ${WRKDIR} ; cd ${WRKDIR} ; ${RM} -Rf ${WRKDIR}/${DISTNAME} ; \
41
		${MKDIR} ${WRKDIR} ; cd ${WRKDIR} ; ${RM} -R ${WRKDIR}/${DISTNAME} ; \
42
		${ECHO_MSG} "=> Checking out twext from svn.calendarserver.org/..."; \
42
		${ECHO_MSG} "=> Checking out twext from svn.calendarserver.org/..."; \
43
		${SVN_CMD3} ${SVN_REPOSITORY_URL}/${SVN_TAG3} > /dev/null ; \
43
		${SVN_CMD3} ${SVN_REPOSITORY_URL}/${SVN_TAG3} > /dev/null ; \
44
		${MV} trunk ${DISTNAME} ; \
44
		${MV} trunk ${DISTNAME} ; \
45
		${ECHO_MSG} "=> Creating tar archive ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \
45
		${ECHO_MSG} "=> Creating tar archive ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \
46
		cd ${WRKDIR} ; tar -czf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ; \
46
		cd ${WRKDIR} ; tar -czf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ; \
47
		${RM} -Rf ${WRKDIR}/${DISTNAME} ; \
47
		${RM} -R ${WRKDIR}/${DISTNAME} ; \
48
	else \
48
	else \
49
		${ECHO_MSG} "===>	${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} found." ; \
49
		${ECHO_MSG} "===>	${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} found." ; \
50
	fi
50
	fi
(-)devel/py-vcrpy/Makefile (-1 / +1 lines)
Lines 37-43 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \ Link Here
37
.endif
37
.endif
38
38
39
post-patch:
39
post-patch:
40
	${FIND} ${WRKSRC} -name __pycache__ -type d -exec ${RM} -rf {} +
40
	${FIND} ${WRKSRC} -name __pycache__ -type d -exec ${RM} -r {} +
41
41
42
do-test:
42
do-test:
43
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
43
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
(-)devel/pydbus-common/Makefile (-2 / +2 lines)
Lines 76-84 USES+= python:3 Link Here
76
.endif
76
.endif
77
77
78
post-install:
78
post-install:
79
	@${RM} -rf ${STAGEDIR}${PREFIX}/include/dbus-1.0 \
79
	@${RM} -r ${STAGEDIR}${PREFIX}/include/dbus-1.0 \
80
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/dbus-python.pc
80
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/dbus-python.pc
81
	@${RM} -fr ${STAGEDIR}/${DOCSDIR}
81
	@${RM} -r ${STAGEDIR}/${DOCSDIR}
82
.endif # end of slaving block
82
.endif # end of slaving block
83
83
84
.include <bsd.port.mk>
84
.include <bsd.port.mk>
(-)devel/pygobject3-common/Makefile (-1 / +1 lines)
Lines 69-75 PLIST_SUB+= PYTVER=${PYTHON_VER:S/.//} Link Here
69
.endif
69
.endif
70
70
71
post-install:
71
post-install:
72
	@${RM} -rf ${STAGEDIR}${PREFIX}/include/pygobject-3.0 \
72
	@${RM} -r ${STAGEDIR}${PREFIX}/include/pygobject-3.0 \
73
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc
73
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc
74
.endif
74
.endif
75
75
(-)devel/qmake/Makefile (-1 / +1 lines)
Lines 38-44 post-install: Link Here
38
.endif
38
.endif
39
39
40
post-patch:
40
post-patch:
41
	@${RM} -fr ${WRKSRC}/examples ${WRKSRC}/tutorial
41
	@${RM} -r ${WRKSRC}/examples ${WRKSRC}/tutorial
42
	@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
42
	@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
43
		-e 's|gcc|${CC}|' \
43
		-e 's|gcc|${CC}|' \
44
		-e 's|g++|${CXX}|' \
44
		-e 's|g++|${CXX}|' \
(-)devel/qmake4/Makefile (-1 / +1 lines)
Lines 54-60 post-patch: Link Here
54
	@${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix
54
	@${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix
55
	@${REINPLACE_CMD} -e 's|unix.conf|freebsd.conf|' \
55
	@${REINPLACE_CMD} -e 's|unix.conf|freebsd.conf|' \
56
		${WRKSRC:H}/mkspecs/freebsd-icc/qmake.conf
56
		${WRKSRC:H}/mkspecs/freebsd-icc/qmake.conf
57
	@${RM} -Rf ${WRKSRC:H}/mkspecs/freebsd-g++46
57
	@${RM} -R ${WRKSRC:H}/mkspecs/freebsd-g++46
58
58
59
# Add mkspec for clang
59
# Add mkspec for clang
60
	@${CP} -a ${WRKSRC:H}/mkspecs/freebsd-g++ \
60
	@${CP} -a ${WRKSRC:H}/mkspecs/freebsd-g++ \
(-)devel/qmake5/Makefile (-1 / +1 lines)
Lines 52-58 post-patch: Link Here
52
		${WRKSRC}/mkspecs/freebsd-g++/qplatformdefs.h
52
		${WRKSRC}/mkspecs/freebsd-g++/qplatformdefs.h
53
# Clean up files created by patching
53
# Clean up files created by patching
54
	@${RM} ${WRKSRC}/mkspecs/*/*.orig
54
	@${RM} ${WRKSRC}/mkspecs/*/*.orig
55
	@${RM} -Rf ${WRKSRC}/mkspecs/unsupported/freebsd-g++46
55
	@${RM} -R ${WRKSRC}/mkspecs/unsupported/freebsd-g++46
56
56
57
post-build:
57
post-build:
58
# Complete configure stage to generate *.pri files.
58
# Complete configure stage to generate *.pri files.
(-)devel/rapidjson/Makefile (-1 / +1 lines)
Lines 47-52 post-patch: Link Here
47
	@${REINPLACE_CMD} -e 's|add_subdirectory.*googletest.*|link_directories(${LOCALBASE}/lib)|' ${WRKSRC}/test/CMakeLists.txt
47
	@${REINPLACE_CMD} -e 's|add_subdirectory.*googletest.*|link_directories(${LOCALBASE}/lib)|' ${WRKSRC}/test/CMakeLists.txt
48
48
49
post-stage:
49
post-stage:
50
	@${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/CMake*
50
	@${RM} -r ${STAGEDIR}${EXAMPLESDIR}/CMake*
51
51
52
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)devel/sfml1/Makefile (-1 / +1 lines)
Lines 36-42 PORTSCOUT= limit:[^c]$$ Link Here
36
OPTIONS_DEFINE=	DOCS
36
OPTIONS_DEFINE=	DOCS
37
37
38
post-extract:
38
post-extract:
39
	@${RM} -f ${WRKSRC}/lib/*
39
	@${RM} ${WRKSRC}/lib/*
40
	@${FIND} ${WRKSRC}/samples/bin/ -type f -maxdepth 1 -delete
40
	@${FIND} ${WRKSRC}/samples/bin/ -type f -maxdepth 1 -delete
41
41
42
post-install:
42
post-install:
(-)devel/shtk/Makefile (-1 / +1 lines)
Lines 30-36 PLIST_SUB+= TEST= Link Here
30
30
31
post-install:
31
post-install:
32
.if empty(PORT_OPTIONS:MTEST)
32
.if empty(PORT_OPTIONS:MTEST)
33
	@${RM} -rf ${STAGEDIR}${PREFIX}/tests
33
	@${RM} -r ${STAGEDIR}${PREFIX}/tests
34
.endif
34
.endif
35
35
36
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)devel/sonarqube/Makefile (-5 / +5 lines)
Lines 74-83 do-install: Link Here
74
		${STAGEDIR}${SQ_HOME}/conf/sonar.properties.sample
74
		${STAGEDIR}${SQ_HOME}/conf/sonar.properties.sample
75
	@${MV} -f ${STAGEDIR}${SQ_HOME}/conf/wrapper.conf \
75
	@${MV} -f ${STAGEDIR}${SQ_HOME}/conf/wrapper.conf \
76
		${STAGEDIR}${SQ_HOME}/conf/wrapper.conf.sample
76
		${STAGEDIR}${SQ_HOME}/conf/wrapper.conf.sample
77
	@${RM} -drf ${STAGEDIR}${SQ_HOME}/bin/linux-x86-32
77
	@${RM} -r ${STAGEDIR}${SQ_HOME}/bin/linux-x86-32
78
	@${RM} -drf ${STAGEDIR}${SQ_HOME}/bin/linux-x86-64
78
	@${RM} -r ${STAGEDIR}${SQ_HOME}/bin/linux-x86-64
79
	@${RM} -drf ${STAGEDIR}${SQ_HOME}/bin/macosx-universal-64
79
	@${RM} -r ${STAGEDIR}${SQ_HOME}/bin/macosx-universal-64
80
	@${RM} -drf ${STAGEDIR}${SQ_HOME}/bin/windows-x86-32
80
	@${RM} -r ${STAGEDIR}${SQ_HOME}/bin/windows-x86-32
81
	@${RM} -drf ${STAGEDIR}${SQ_HOME}/bin/windows-x86-64
81
	@${RM} -r ${STAGEDIR}${SQ_HOME}/bin/windows-x86-64
82
82
83
.include <bsd.port.mk>
83
.include <bsd.port.mk>
(-)devel/srecord/Makefile (-1 / +1 lines)
Lines 52-58 test: Link Here
52
	@cd ${WRKSRC} && ${MAKE} sure
52
	@cd ${WRKSRC} && ${MAKE} sure
53
53
54
build-plist:
54
build-plist:
55
	${RM} -f ${PLIST}
55
	${RM} ${PLIST}
56
	${MAKE} makeplist | \
56
	${MAKE} makeplist | \
57
	    ${GREP} -v /you/have/to/check/what/makeplist/gives/you >> ${PLIST}
57
	    ${GREP} -v /you/have/to/check/what/makeplist/gives/you >> ${PLIST}
58
58
(-)devel/st/Makefile (-1 / +1 lines)
Lines 22-28 EXAMPLES= Makefile README error.c lookupdns.c proxy.c \ Link Here
22
OPTIONS_DEFINE=	DOCS EXAMPLES
22
OPTIONS_DEFINE=	DOCS EXAMPLES
23
23
24
post-patch:
24
post-patch:
25
	@${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile
25
	@${RM} ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile
26
	@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
26
	@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
27
	@${CP} ${FILESDIR}/Makefile.examples ${WRKSRC}/examples/Makefile
27
	@${CP} ${FILESDIR}/Makefile.examples ${WRKSRC}/examples/Makefile
28
28
(-)devel/storm/Makefile (-2 / +2 lines)
Lines 26-36 STORM_CFG_DIRS= conf logback Link Here
26
STORM_CFG_FILES=	conf/storm.yaml conf/storm_env.ini logback/cluster.xml
26
STORM_CFG_FILES=	conf/storm.yaml conf/storm_env.ini logback/cluster.xml
27
27
28
post-extract:
28
post-extract:
29
		${RM} -f ${WRKSRC}/bin/*.cmd
29
		${RM} ${WRKSRC}/bin/*.cmd
30
30
31
post-patch:
31
post-patch:
32
		${REINPLACE_CMD} -e "s|/usr/bin/python|${LOCALBASE}/bin/python2.7|" ${WRKSRC}/bin/storm
32
		${REINPLACE_CMD} -e "s|/usr/bin/python|${LOCALBASE}/bin/python2.7|" ${WRKSRC}/bin/storm
33
		${RM} -f ${WRKSRC}/bin/*.bak
33
		${RM} ${WRKSRC}/bin/*.bak
34
.for i in ${STORM_CFG_FILES}
34
.for i in ${STORM_CFG_FILES}
35
		${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sample
35
		${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sample
36
.endfor
36
.endfor
(-)devel/tcllibc/Makefile (-1 / +1 lines)
Lines 18-24 post-patch: Link Here
18
	cd ${WRKSRC}/modules/json/c && ${YACC} -b json json.y
18
	cd ${WRKSRC}/modules/json/c && ${YACC} -b json json.y
19
19
20
do-install:
20
do-install:
21
	${RM} -f ${WRKSRC}/modules/tcllibc/license.terms
21
	${RM} ${WRKSRC}/modules/tcllibc/license.terms
22
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/tcllib
22
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/tcllib
23
	${MV} ${WRKSRC}/modules/tcllibc ${STAGEDIR}${PREFIX}/lib/tcllib/
23
	${MV} ${WRKSRC}/modules/tcllibc ${STAGEDIR}${PREFIX}/lib/tcllib/
24
	${SED} -e s,%%PLATFORM%%,`${LOCALBASE}/bin/critcl -show | ${SED} -n 's| *platform *||p'`,\
24
	${SED} -e s,%%PLATFORM%%,`${LOCALBASE}/bin/critcl -show | ${SED} -n 's| *platform *||p'`,\
(-)devel/tkinspect/Makefile (-1 / +1 lines)
Lines 32-37 do-install: Link Here
32
		${INSTALL_DATA} ${WRKSRC}/stl-lite/* \
32
		${INSTALL_DATA} ${WRKSRC}/stl-lite/* \
33
			${STAGEDIR}${PREFIX}/lib/tkinspect/stl-lite
33
			${STAGEDIR}${PREFIX}/lib/tkinspect/stl-lite
34
		(cd ${STAGEDIR}${PREFIX}/lib/tkinspect && \
34
		(cd ${STAGEDIR}${PREFIX}/lib/tkinspect && \
35
			${RM} -f README dot.tkinspect_init install.tcl sls.xbm stl-lite/COPYRIGHT tkinspect.tcl)
35
			${RM} README dot.tkinspect_init install.tcl sls.xbm stl-lite/COPYRIGHT tkinspect.tcl)
36
36
37
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)devel/tla/Makefile (-1 / +1 lines)
Lines 40-46 test: Link Here
40
	cd ${WRKSRC} ; ${MAKE_CMD} test
40
	cd ${WRKSRC} ; ${MAKE_CMD} test
41
41
42
pre-install:
42
pre-install:
43
	${RM} -rf ${ORIGWRKSRC}/docs-tla/PLUGIN \
43
	${RM} -r ${ORIGWRKSRC}/docs-tla/PLUGIN \
44
		${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids
44
		${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids
45
45
46
do-install:
46
do-install:
(-)devel/tmake/Makefile (-1 / +1 lines)
Lines 17-23 USES= perl5 shebangfix Link Here
17
SHEBANG_FILES=	bin/progen bin/tmake
17
SHEBANG_FILES=	bin/progen bin/tmake
18
18
19
post-patch:
19
post-patch:
20
	@${RM} -f ${WRKSRC}/bin/tmake.orig ${WRKSRC}/lib/unix/generic.t.orig
20
	@${RM} ${WRKSRC}/bin/tmake.orig ${WRKSRC}/lib/unix/generic.t.orig
21
	@${REINPLACE_CMD} \
21
	@${REINPLACE_CMD} \
22
		-e 's|/usr/local|${LOCALBASE}|g' \
22
		-e 's|/usr/local|${LOCALBASE}|g' \
23
		-e 's|/usr/X11R6|${LOCALBASE}|g' \
23
		-e 's|/usr/X11R6|${LOCALBASE}|g' \
(-)devel/valgrind-devel/Makefile (-1 / +1 lines)
Lines 85-91 PLIST_SUB+= AMD64="@comment " Link Here
85
85
86
.if !${PORT_OPTIONS:MDOCS}
86
.if !${PORT_OPTIONS:MDOCS}
87
post-patch:
87
post-patch:
88
	@${RM} -rf ${WRKSRC}/docs/html
88
	@${RM} -r ${WRKSRC}/docs/html
89
.endif
89
.endif
90
90
91
post-build:
91
post-build:
(-)devel/valgrind/Makefile (-1 / +1 lines)
Lines 83-89 PLIST_SUB+= AMD64="@comment " Link Here
83
83
84
.if !${PORT_OPTIONS:MDOCS}
84
.if !${PORT_OPTIONS:MDOCS}
85
post-patch:
85
post-patch:
86
	@${RM} -rf ${WRKSRC}/docs/html
86
	@${RM} -r ${WRKSRC}/docs/html
87
.endif
87
.endif
88
88
89
post-build:
89
post-build:
(-)devel/xmake/Makefile (-1 / +1 lines)
Lines 15-21 WRKSRC= ${WRKDIR}/xmake Link Here
15
PLIST_FILES=	bin/xmake man/man1/xmake.1.gz
15
PLIST_FILES=	bin/xmake man/man1/xmake.1.gz
16
16
17
post-extract:
17
post-extract:
18
	@${RM} -rf ${WRKSRC}/obj
18
	@${RM} -r ${WRKSRC}/obj
19
19
20
post-patch:
20
post-patch:
21
	@${REINPLACE_CMD} 's|gcc|cc|' ${WRKSRC}/defs.h
21
	@${REINPLACE_CMD} 's|gcc|cc|' ${WRKSRC}/defs.h
(-)devel/xsd/Makefile (-1 / +1 lines)
Lines 37-43 USES= gmake tar:bzip2 Link Here
37
37
38
post-patch:
38
post-patch:
39
# Use devel/build instead of the port's bundled copy.
39
# Use devel/build instead of the port's bundled copy.
40
	${RM} -fr ${WRKSRC}/build-0.3
40
	${RM} -r ${WRKSRC}/build-0.3
41
	${LN} -s ${LOCALBASE}/include/build-0.3 ${WRKSRC}/build-0.3
41
	${LN} -s ${LOCALBASE}/include/build-0.3 ${WRKSRC}/build-0.3
42
42
43
post-install:
43
post-install:
(-)dns/djbdns/Makefile (-1 / +1 lines)
Lines 136-142 post-build: Link Here
136
	@${ECHO_MSG} "===> Rebuilding DJB installer to respect STAGEDIR"
136
	@${ECHO_MSG} "===> Rebuilding DJB installer to respect STAGEDIR"
137
	@${MV} -f ${WRKSRC}/conf-home ${WRKSRC}/conf-home.sav
137
	@${MV} -f ${WRKSRC}/conf-home ${WRKSRC}/conf-home.sav
138
	@${MV} -f ${WRKSRC}/conf-home.stage ${WRKSRC}/conf-home
138
	@${MV} -f ${WRKSRC}/conf-home.stage ${WRKSRC}/conf-home
139
	@cd ${WRKSRC} ; ${RM} -f install instcheck install.o instcheck.o hier.o auto_home.o auto_home.c
139
	@cd ${WRKSRC} ; ${RM} install instcheck install.o instcheck.o hier.o auto_home.o auto_home.c
140
	@cd ${WRKSRC} ; ${DO_MAKE_BUILD} install instcheck
140
	@cd ${WRKSRC} ; ${DO_MAKE_BUILD} install instcheck
141
	@${TOUCH} ${WRKSRC}/*-conf
141
	@${TOUCH} ${WRKSRC}/*-conf
142
	@${MV} -f ${WRKSRC}/conf-home.sav ${WRKSRC}/conf-home
142
	@${MV} -f ${WRKSRC}/conf-home.sav ${WRKSRC}/conf-home
(-)dns/knot1/Makefile (-1 / +1 lines)
Lines 58-64 post-patch: Link Here
58
		${WRKSRC}/src/Makefile.in
58
		${WRKSRC}/src/Makefile.in
59
	@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|' \
59
	@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|' \
60
		${WRKSRC}/src/Makefile.in
60
		${WRKSRC}/src/Makefile.in
61
	@${RM} -rf ${WRKSRC}/src/zscanner/scanner.c
61
	@${RM} -r ${WRKSRC}/src/zscanner/scanner.c
62
62
63
post-install:
63
post-install:
64
	${MV} ${STAGEDIR}${ETCDIR}/knot.sample.conf \
64
	${MV} ${STAGEDIR}${ETCDIR}/knot.sample.conf \
(-)dns/knot2/Makefile (-1 / +1 lines)
Lines 64-70 post-patch: Link Here
64
		${WRKSRC}/src/Makefile.in
64
		${WRKSRC}/src/Makefile.in
65
	@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|' \
65
	@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|' \
66
		${WRKSRC}/src/Makefile.in
66
		${WRKSRC}/src/Makefile.in
67
	@${RM} -rf ${WRKSRC}/src/zscanner/scanner.c
67
	@${RM} -r ${WRKSRC}/src/zscanner/scanner.c
68
68
69
post-install:
69
post-install:
70
	${MV} ${STAGEDIR}${ETCDIR}/knot.sample.conf \
70
	${MV} ${STAGEDIR}${ETCDIR}/knot.sample.conf \
(-)dns/maradns/Makefile (-1 / +1 lines)
Lines 66-72 do-install: Link Here
66
post-install-DOCS-on:
66
post-install-DOCS-on:
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
68
	cd ${WRKSRC}/doc/en && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
68
	cd ${WRKSRC}/doc/en && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
69
	@${RM} -rf ${STAGEDIR}${DOCSDIR}/man \
69
	@${RM} -r ${STAGEDIR}${DOCSDIR}/man \
70
		${STAGEDIR}${DOCSDIR}/source \
70
		${STAGEDIR}${DOCSDIR}/source \
71
		${STAGEDIR}${DOCSDIR}/pdf
71
		${STAGEDIR}${DOCSDIR}/pdf
72
	@${FIND} ${STAGEDIR}${DOCSDIR} -name Makefile -delete
72
	@${FIND} ${STAGEDIR}${DOCSDIR} -name Makefile -delete
(-)editors/2bsd-vi/Makefile (-1 / +1 lines)
Lines 21-27 PRESERVEDIR= /var/preserve/${PKGBASE} Link Here
21
PLIST_SUB=	PRESERVEDIR="${PRESERVEDIR}"
21
PLIST_SUB=	PRESERVEDIR="${PRESERVEDIR}"
22
22
23
post-extract:	.SILENT
23
post-extract:	.SILENT
24
	${RM} -fr ${WRKSRC}/libuxre ${WRKSRC}/regexp.h
24
	${RM} -r ${WRKSRC}/libuxre ${WRKSRC}/regexp.h
25
25
26
post-patch:
26
post-patch:
27
.for f in Makefile ex.1 expreserve.c exrecover.c vi.1
27
.for f in Makefile ex.1 expreserve.c exrecover.c vi.1
(-)editors/emacs-devel/Makefile (-1 / +1 lines)
Lines 241-247 LDFLAGS+=-ltinfo Link Here
241
.endif
241
.endif
242
242
243
post-patch:
243
post-patch:
244
	@${RM} -f ${WRKSRC}/info/*
244
	@${RM} ${WRKSRC}/info/*
245
245
246
## stage-qa will give a warning, but don't pull in desktop-file-utils
246
## stage-qa will give a warning, but don't pull in desktop-file-utils
247
## portlint -AC will give a warning about INSTALL_ICONS, but don't pull in those
247
## portlint -AC will give a warning about INSTALL_ICONS, but don't pull in those
(-)editors/flim/Makefile (-1 / +1 lines)
Lines 202-208 info-package-install: Link Here
202
	done)
202
	done)
203
203
204
manifest-install:
204
manifest-install:
205
	@${RM} -f ${WRKDIR}/${MANIFEST}
205
	@${RM} ${WRKDIR}/${MANIFEST}
206
	@${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
206
	@${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
207
		${SED} -e "s;^%%EMACS_PACKAGESDIR%%/;;" > ${WRKDIR}/${MANIFEST}
207
		${SED} -e "s;^%%EMACS_PACKAGESDIR%%/;;" > ${WRKDIR}/${MANIFEST}
208
	@${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
208
	@${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
(-)editors/lazarus/Makefile (-3 / +3 lines)
Lines 110-116 do-build: Link Here
110
110
111
post-build:
111
post-build:
112
	@cd ${WRKSRC} && \
112
	@cd ${WRKSRC} && \
113
		${RM} -Rf COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \
113
		${RM} -R COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \
114
			ide/Makefile*.orig ide/Makefile*.bak lcl/units components/ideintf/units \
114
			ide/Makefile*.orig ide/Makefile*.bak lcl/units components/ideintf/units \
115
				components/synedit/units components/lazcontrols/lib
115
				components/synedit/units components/lazcontrols/lib
116
116
Lines 119-126 pre-install: Link Here
119
	@${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/lazarus-wrapper
119
	@${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/lazarus-wrapper
120
	@${ECHO} "exec ./startlazarus" >> ${WRKDIR}/lazarus-wrapper
120
	@${ECHO} "exec ./startlazarus" >> ${WRKDIR}/lazarus-wrapper
121
121
122
	@${RM} -f ${PLIST}
122
	@${RM} ${PLIST}
123
	@${RM} -f ${WRKSRC}/lcl/units
123
	@${RM} ${WRKSRC}/lcl/units
124
	@${RM} -r ${WRKSRC}/components/chmhelp/lhelp/lhelp.app/Contents/MacOS \
124
	@${RM} -r ${WRKSRC}/components/chmhelp/lhelp/lhelp.app/Contents/MacOS \
125
		${WRKSRC}/lazarus.app/Contents/MacOS \
125
		${WRKSRC}/lazarus.app/Contents/MacOS \
126
		${WRKSRC}/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS
126
		${WRKSRC}/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS
(-)editors/lazarus/Makefile.common (-1 / +1 lines)
Lines 61-67 do-build: Link Here
61
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} LCL_PLATFORM=${LCL_INTERFACE}
61
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} LCL_PLATFORM=${LCL_INTERFACE}
62
62
63
pre-install:
63
pre-install:
64
	@${RM} -f ${PLIST}
64
	@${RM} ${PLIST}
65
65
66
	@cd ${WRKSRC}/units/${BUILDNAME}/${LCL_INTERFACE} && \
66
	@cd ${WRKSRC}/units/${BUILDNAME}/${LCL_INTERFACE} && \
67
		${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/lcl/units/%%BUILDNAME%%/${LCL_INTERFACE}/|' -e 's|//|/|' >> ${PLIST}
67
		${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/lcl/units/%%BUILDNAME%%/${LCL_INTERFACE}/|' -e 's|//|/|' >> ${PLIST}
(-)editors/libreoffice4/Makefile (-1 / +1 lines)
Lines 359-365 post-configure: Link Here
359
359
360
do-install:
360
do-install:
361
	@cd ${WRKSRC} && ${MAKE_CMD} ${MAKE_ARGS} distro-pack-install
361
	@cd ${WRKSRC} && ${MAKE_CMD} ${MAKE_ARGS} distro-pack-install
362
	@${RM} -f ${PLISTD} ${PLISTF}
362
	@${RM} ${PLISTD} ${PLISTF}
363
	@cd ${STAGEDIR}${PREFIX} && ${FIND} -d lib/libreoffice -type d \
363
	@cd ${STAGEDIR}${PREFIX} && ${FIND} -d lib/libreoffice -type d \
364
	    -empty -exec ${ECHO_CMD} "@dir {}" \; >> ${PLISTD}
364
	    -empty -exec ${ECHO_CMD} "@dir {}" \; >> ${PLISTD}
365
	@cd ${STAGEDIR}${PREFIX} && ${FIND} -H -s bin etc lib man \
365
	@cd ${STAGEDIR}${PREFIX} && ${FIND} -H -s bin etc lib man \
(-)editors/linux-sublime/Makefile (-1 / +1 lines)
Lines 35-41 do-install: Link Here
35
	@${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/
35
	@${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/
36
	@${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/
36
	@${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/
37
	@${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
37
	@${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
38
	@${RM} -rf ${WRKSRC}/Icon/
38
	@${RM} -r ${WRKSRC}/Icon/
39
	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
39
	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
40
	@${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text
40
	@${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text
41
	@${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
41
	@${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
(-)editors/mined/Makefile (-3 / +3 lines)
Lines 45-52 post-install: Link Here
45
	${MKDIR} ${STAGEDIR}${DOCSDIR}
45
	${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
46
	cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
47
	cd ${WRKSRC}/usrshare/package_doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
47
	cd ${WRKSRC}/usrshare/package_doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
48
	${RM} -rf ${STAGEDIR}${DATADIR}/setup_install/cyg
48
	${RM} -r ${STAGEDIR}${DATADIR}/setup_install/cyg
49
	@${RM} -rf ${STAGEDIR}${DOCSDIR}/CHANGES ${STAGEDIR}${DOCSDIR}/LICENCE.GPL
49
	@${RM} -r ${STAGEDIR}${DOCSDIR}/CHANGES ${STAGEDIR}${DOCSDIR}/LICENCE.GPL
50
	@${RM} -rf ${STAGEDIR}${DATADIR}/doc_user ${STAGEDIR}${DATADIR}/package_doc
50
	@${RM} -r ${STAGEDIR}${DATADIR}/doc_user ${STAGEDIR}${DATADIR}/package_doc
51
51
52
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)editors/openoffice-4/Makefile (-8 / +8 lines)
Lines 282-294 pre-everything:: Link Here
282
# really tweak, extremely useful when you build all localized language versions
282
# really tweak, extremely useful when you build all localized language versions
283
# needed after when you build with ALL_LOCALIZED_LANGS.
283
# needed after when you build with ALL_LOCALIZED_LANGS.
284
.if defined(TWEAK_L10N)
284
.if defined(TWEAK_L10N)
285
	${RM} -f ${WRKDIR}/.PLIST*
285
	${RM} ${WRKDIR}/.PLIST*
286
	${RM} -f ${WRKDIR}/.install_done.*
286
	${RM} ${WRKDIR}/.install_done.*
287
	${RM} -f ${WRKDIR}/.package_done.*
287
	${RM} ${WRKDIR}/.package_done.*
288
	${RM} -f ${WRKDIR}/.extract_done.*
288
	${RM} ${WRKDIR}/.extract_done.*
289
	${RM} -f ${WRKDIR}/.patch_done.*
289
	${RM} ${WRKDIR}/.patch_done.*
290
	${RM} -f ${WRKDIR}/.configure_done.*
290
	${RM} ${WRKDIR}/.configure_done.*
291
	${RM} -f ${WRKDIR}/.build_done.*
291
	${RM} ${WRKDIR}/.build_done.*
292
	${MKDIR} ${WRKDIR}
292
	${MKDIR} ${WRKDIR}
293
	${TOUCH} ${EXTRACT_COOKIE}
293
	${TOUCH} ${EXTRACT_COOKIE}
294
	${TOUCH} ${PATCH_COOKIE}
294
	${TOUCH} ${PATCH_COOKIE}
Lines 301-307 post-extract: Link Here
301
	${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
301
	${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
302
	${CP} ${FILESDIR}/freebsd-aoo-intro.png ${WRKSRC}/default_images/introabout/intro.png
302
	${CP} ${FILESDIR}/freebsd-aoo-intro.png ${WRKSRC}/default_images/introabout/intro.png
303
	${CP} ${FILESDIR}/freebsd-aoo-about.png ${WRKSRC}/default_images/introabout/about.png
303
	${CP} ${FILESDIR}/freebsd-aoo-about.png ${WRKSRC}/default_images/introabout/about.png
304
	${RM} -rf ${WRKSRC}/l10n
304
	${RM} -r ${WRKSRC}/l10n
305
	${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip
305
	${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip
306
	${SED}  -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \
306
	${SED}  -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \
307
		-e '\|^For PostScript(R) AFM|,/^__/p'			\
307
		-e '\|^For PostScript(R) AFM|,/^__/p'			\
(-)editors/openoffice-devel/Makefile (-8 / +8 lines)
Lines 292-304 pre-everything:: Link Here
292
# really tweak, extremely useful when you build all localized language versions
292
# really tweak, extremely useful when you build all localized language versions
293
# needed after when you build with ALL_LOCALIZED_LANGS.
293
# needed after when you build with ALL_LOCALIZED_LANGS.
294
.if defined(TWEAK_L10N)
294
.if defined(TWEAK_L10N)
295
	${RM} -f ${WRKDIR}/.PLIST*
295
	${RM} ${WRKDIR}/.PLIST*
296
	${RM} -f ${WRKDIR}/.install_done.*
296
	${RM} ${WRKDIR}/.install_done.*
297
	${RM} -f ${WRKDIR}/.package_done.*
297
	${RM} ${WRKDIR}/.package_done.*
298
	${RM} -f ${WRKDIR}/.extract_done.*
298
	${RM} ${WRKDIR}/.extract_done.*
299
	${RM} -f ${WRKDIR}/.patch_done.*
299
	${RM} ${WRKDIR}/.patch_done.*
300
	${RM} -f ${WRKDIR}/.configure_done.*
300
	${RM} ${WRKDIR}/.configure_done.*
301
	${RM} -f ${WRKDIR}/.build_done.*
301
	${RM} ${WRKDIR}/.build_done.*
302
	${MKDIR} ${WRKDIR}
302
	${MKDIR} ${WRKDIR}
303
	${TOUCH} ${EXTRACT_COOKIE}
303
	${TOUCH} ${EXTRACT_COOKIE}
304
	${TOUCH} ${PATCH_COOKIE}
304
	${TOUCH} ${PATCH_COOKIE}
Lines 311-317 post-extract: Link Here
311
	${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
311
	${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
312
	${CP} ${FILESDIR}/freebsd-aoo-intro-developer.png ${WRKSRC}/default_images/introabout/intro.png
312
	${CP} ${FILESDIR}/freebsd-aoo-intro-developer.png ${WRKSRC}/default_images/introabout/intro.png
313
	${CP} ${FILESDIR}/freebsd-aoo-about-developer.png ${WRKSRC}/default_images/introabout/about.png
313
	${CP} ${FILESDIR}/freebsd-aoo-about-developer.png ${WRKSRC}/default_images/introabout/about.png
314
	${RM} -rf ${WRKSRC}/l10n
314
	${RM} -r ${WRKSRC}/l10n
315
	${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip
315
	${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip
316
	${SED}  -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \
316
	${SED}  -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \
317
		-e '\|^For PostScript(R) AFM|,/^__/p'			\
317
		-e '\|^For PostScript(R) AFM|,/^__/p'			\
(-)editors/rox-edit/Makefile (-1 / +1 lines)
Lines 17-23 USES= python tar:bzip2 Link Here
17
17
18
post-extract:
18
post-extract:
19
	@${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM}
19
	@${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM}
20
	@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
20
	@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r
21
21
22
do-build:
22
do-build:
23
	@${PYTHON_CMD} -m compileall ${WRKSRC}
23
	@${PYTHON_CMD} -m compileall ${WRKSRC}
(-)editors/semi/Makefile (-1 / +1 lines)
Lines 176-182 info-package-install: Link Here
176
	done)
176
	done)
177
177
178
manifest-install:
178
manifest-install:
179
	@${RM} -f ${WRKDIR}/${MANIFEST}
179
	@${RM} ${WRKDIR}/${MANIFEST}
180
	@${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
180
	@${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
181
		${SED} -e "s;^%%EMACS_PACKAGESDIR%%/;;" > ${WRKDIR}/${MANIFEST}
181
		${SED} -e "s;^%%EMACS_PACKAGESDIR%%/;;" > ${WRKDIR}/${MANIFEST}
182
	@${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
182
	@${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
(-)emulators/i386-wine-devel/Makefile.inc (-2 / +2 lines)
Lines 75-81 DISTFILES= Link Here
75
.endif
75
.endif
76
76
77
do-extract:
77
do-extract:
78
	@${RM} -rf ${WRKDIR}
78
	@${RM} -r ${WRKDIR}
79
	@${MKDIR} ${WRKDIR}
79
	@${MKDIR} ${WRKDIR}
80
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/${DISTNAME}/LICENSE' -s '|/usr/local/share/licenses/${DISTNAME}/||g'
80
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/${DISTNAME}/LICENSE' -s '|/usr/local/share/licenses/${DISTNAME}/||g'
81
81
Lines 87-93 ${PLIST}: fetch Link Here
87
	${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$\|ldconfig32' | ${SED} 's|/usr/local/||g' | sort > ${PLIST}
87
	${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$\|ldconfig32' | ${SED} 's|/usr/local/||g' | sort > ${PLIST}
88
88
89
port-update:
89
port-update:
90
	${RM} -f ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
90
	${RM} ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
91
.for osrel in 9 10 11 12
91
.for osrel in 9 10 11 12
92
.for suffix in -devel -staging
92
.for suffix in -devel -staging
93
	${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel} PKGNAMESUFFIX=${suffix}
93
	${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel} PKGNAMESUFFIX=${suffix}
(-)emulators/i386-wine/Makefile.inc (-2 / +2 lines)
Lines 63-69 DISTFILES= Link Here
63
.endif
63
.endif
64
64
65
do-extract:
65
do-extract:
66
	@${RM} -rf ${WRKDIR}
66
	@${RM} -r ${WRKDIR}
67
	@${MKDIR} ${WRKDIR}
67
	@${MKDIR} ${WRKDIR}
68
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/${DISTNAME}/LICENSE' -s '|/usr/local/share/licenses/${DISTNAME}/||g'
68
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR} --include '/usr/local/share/licenses/${DISTNAME}/LICENSE' -s '|/usr/local/share/licenses/${DISTNAME}/||g'
69
69
Lines 74-80 ${PLIST}: fetch Link Here
74
	${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$\|ldconfig32' | ${SED} 's|/usr/local/||g' | sort > ${PLIST}
74
	${TAR} -tf ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS} | ${GREP} -v '/$$\|ldconfig32' | ${SED} 's|/usr/local/||g' | sort > ${PLIST}
75
75
76
port-update:
76
port-update:
77
	${RM} -f ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
77
	${RM} ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
78
.for osrel in 9 10 11 12
78
.for osrel in 9 10 11 12
79
	${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel}
79
	${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel}
80
	${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel}
80
	${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 UNAME_r=${osrel}
(-)emulators/ia64sim/Makefile (-1 / +1 lines)
Lines 25-31 PORTDOCS= ia64user.txt readme Link Here
25
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
26
26
27
pre-build:
27
pre-build:
28
	@${RM} -f ${WRKSRC}/obj/*.o ${WRKSRC}/ia64sim
28
	@${RM} ${WRKSRC}/obj/*.o ${WRKSRC}/ia64sim
29
29
30
do-install:
30
do-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${STAGEDIR}${PREFIX}/bin
31
	${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${STAGEDIR}${PREFIX}/bin
(-)emulators/mupen64plus-core/Makefile.common (-1 / +1 lines)
Lines 42-48 post-patch: Link Here
42
.	endif
42
.	endif
43
43
44
pre-install:
44
pre-install:
45
	@${RM} -f ${PLIST}
45
	@${RM} ${PLIST}
46
.	if ${PKGNAMESUFFIX} == "-video-rice"
46
.	if ${PKGNAMESUFFIX} == "-video-rice"
47
		@${ECHO_CMD} "%%DATADIR%%/RiceVideoLinux.ini" >> ${PLIST}
47
		@${ECHO_CMD} "%%DATADIR%%/RiceVideoLinux.ini" >> ${PLIST}
48
.	endif
48
.	endif
(-)emulators/vice/Makefile (-1 / +1 lines)
Lines 142-148 USE_SDL= sdl Link Here
142
.endif
142
.endif
143
143
144
post-extract:
144
post-extract:
145
	@${RM} -f ${WRKSRC}/doc/vice.info*
145
	@${RM} ${WRKSRC}/doc/vice.info*
146
146
147
post-patch:
147
post-patch:
148
	${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
148
	${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
(-)emulators/virtio-kmod/Makefile (-1 / +1 lines)
Lines 68-74 maintainer-tar: Link Here
68
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/9/sys/dev/virtio dev/virtio
68
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/9/sys/dev/virtio dev/virtio
69
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/9/sys/modules/virtio modules/virtio
69
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/9/sys/modules/virtio modules/virtio
70
	cd ${EXPDIR} && ${TAR} cfvz ${DISTDIR}/${FILE_9} dev modules
70
	cd ${EXPDIR} && ${TAR} cfvz ${DISTDIR}/${FILE_9} dev modules
71
	cd ${EXPDIR} && ${RM} -rf dev modules
71
	cd ${EXPDIR} && ${RM} -r dev modules
72
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/8/sys/dev/virtio dev/virtio
72
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/8/sys/dev/virtio dev/virtio
73
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/8/sys/modules/virtio modules/virtio
73
	cd ${EXPDIR} && svn export -r ${SVN_REV} ${SVN_MIRROR}/stable/8/sys/modules/virtio modules/virtio
74
	cd ${EXPDIR} && ${TAR} cfvz ${DISTDIR}/${FILE_8} dev modules
74
	cd ${EXPDIR} && ${TAR} cfvz ${DISTDIR}/${FILE_8} dev modules
(-)emulators/visualboyadvance-m/Makefile (-1 / +1 lines)
Lines 134-140 maint-gen-distfile: Link Here
134
	svn export -r${SVN_REV} \
134
	svn export -r${SVN_REV} \
135
		 https://svn.code.sf.net/p/vbam/code/trunk/ ${DISTNAME}
135
		 https://svn.code.sf.net/p/vbam/code/trunk/ ${DISTNAME}
136
	${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}
136
	${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}
137
	${RM} -rf ${DISTNAME}
137
	${RM} -r ${DISTNAME}
138
138
139
post-install:
139
post-install:
140
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vbam
140
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vbam
(-)emulators/x49gp/Makefile (-1 / +1 lines)
Lines 89-95 do-install: Link Here
89
	${INSTALL_PROGRAM} ${WRKSRC}/x49gp ${STAGEDIR}${PREFIX}/bin/x49gp-bin
89
	${INSTALL_PROGRAM} ${WRKSRC}/x49gp ${STAGEDIR}${PREFIX}/bin/x49gp-bin
90
90
91
	${INSTALL_SCRIPT} ${WRKDIR}/hp50g.sh ${STAGEDIR}${PREFIX}/bin/hp50g
91
	${INSTALL_SCRIPT} ${WRKDIR}/hp50g.sh ${STAGEDIR}${PREFIX}/bin/hp50g
92
	${RM} -f ${STAGEDIR}${PREFIX}/bin/hp49g+
92
	${RM} ${STAGEDIR}${PREFIX}/bin/hp49g+
93
	${LN} ${STAGEDIR}${PREFIX}/bin/hp50g ${STAGEDIR}${PREFIX}/bin/hp49g+
93
	${LN} ${STAGEDIR}${PREFIX}/bin/hp50g ${STAGEDIR}${PREFIX}/bin/hp49g+
94
94
95
	${INSTALL_DATA} ${DISTDIR}/sdcard64.tar.gz ${STAGEDIR}${DATADIR}/
95
	${INSTALL_DATA} ${DISTDIR}/sdcard64.tar.gz ${STAGEDIR}${DATADIR}/
(-)finance/aqbanking/Makefile (-1 / +1 lines)
Lines 61-67 post-build-DOXYGEN-on: Link Here
61
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} srcdoc
61
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} srcdoc
62
62
63
post-install-DOCS-off:
63
post-install-DOCS-off:
64
	@${RM} -rf ${STAGEDIR}${DOCSDIR}
64
	@${RM} -r ${STAGEDIR}${DOCSDIR}
65
65
66
post-install-DOXYGEN-on:
66
post-install-DOXYGEN-on:
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc
(-)finance/bitcoin-armory/Makefile (-1 / +1 lines)
Lines 47-53 post-patch: Link Here
47
47
48
post-stage:
48
post-stage:
49
	@${SED} -i.bak -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${STAGEDIR}/${LOCALBASE}/bin/armory && \
49
	@${SED} -i.bak -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${STAGEDIR}/${LOCALBASE}/bin/armory && \
50
		${RM} -f ${STAGEDIR}/${LOCALBASE}/bin/armory.bak
50
		${RM} ${STAGEDIR}/${LOCALBASE}/bin/armory.bak
51
	@${REINPLACE_CMD} 's|Exec=/usr/bin/armory|Exec=${LOCALBASE}/bin/armory|' ${STAGEDIR}/${LOCALBASE}/share/applications/*.desktop
51
	@${REINPLACE_CMD} 's|Exec=/usr/bin/armory|Exec=${LOCALBASE}/bin/armory|' ${STAGEDIR}/${LOCALBASE}/share/applications/*.desktop
52
.for s in ${ICON_SIZES}
52
.for s in ${ICON_SIZES}
53
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
53
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
(-)finance/libofx/Makefile (-1 / +1 lines)
Lines 29-34 PORTDOCS= * Link Here
29
OPTIONS_DEFINE=	DOCS
29
OPTIONS_DEFINE=	DOCS
30
30
31
post-install:
31
post-install:
32
	${RM} -f ${STAGEDIR}${DOCSDIR}/COPYING
32
	${RM} ${STAGEDIR}${DOCSDIR}/COPYING
33
33
34
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)french/aster/Makefile (-2 / +2 lines)
Lines 341-352 do-install: Link Here
341
	@${DO_NADA}
341
	@${DO_NADA}
342
342
343
post-install:
343
post-install:
344
	${RM} -rf ${STAGEDIR}${inst_dir}/etc	# Installed by cad/astk-serveur
344
	${RM} -r ${STAGEDIR}${inst_dir}/etc	# Installed by cad/astk-serveur
345
	${MV} ${STAGEDIR}${inst_dir}/${VE}/share/aster/tests	\
345
	${MV} ${STAGEDIR}${inst_dir}/${VE}/share/aster/tests	\
346
		${STAGEDIR}${inst_dir}/${VE}/
346
		${STAGEDIR}${inst_dir}/${VE}/
347
	${MV} ${STAGEDIR}${inst_dir}/${VE}/share/aster/*	\
347
	${MV} ${STAGEDIR}${inst_dir}/${VE}/share/aster/*	\
348
		${STAGEDIR}${inst_dir}/${VE}/
348
		${STAGEDIR}${inst_dir}/${VE}/
349
	${RM} -rf ${STAGEDIR}${inst_dir}/${VE}/share
349
	${RM} -r ${STAGEDIR}${inst_dir}/${VE}/share
350
.for f in ${V_H2FIX}
350
.for f in ${V_H2FIX}
351
	${REINPLACE_CMD} -e 's|${V_HOMARD0}|${V_HOMARD}|' ${STAGEDIR}${inst_dir}/${f}
351
	${REINPLACE_CMD} -e 's|${V_HOMARD0}|${V_HOMARD}|' ${STAGEDIR}${inst_dir}/${f}
352
.endfor
352
.endfor
(-)ftp/bftpd/Makefile (-1 / +1 lines)
Lines 24-30 post-patch: Link Here
24
	@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
24
	@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
25
		${WRKSRC}/mypaths.h
25
		${WRKSRC}/mypaths.h
26
	@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
26
	@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
27
	@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
27
	@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r
28
28
29
do-install:
29
do-install:
30
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
30
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
(-)games/7kaa/Makefile (-1 / +1 lines)
Lines 27-32 PORTDATA= * Link Here
27
OPTIONS_DEFINE=	DOCS
27
OPTIONS_DEFINE=	DOCS
28
28
29
post-install:
29
post-install:
30
	@${RM} -f ${STAGEDIR}${DOCSDIR}/COPYING
30
	@${RM} ${STAGEDIR}${DOCSDIR}/COPYING
31
31
32
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)games/atris/Makefile (-1 / +1 lines)
Lines 42-48 post-patch: Link Here
42
42
43
post-install:
43
post-install:
44
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
44
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
45
	@${RM} -f ${WRKSRC}/Docs/Makefile*
45
	@${RM} ${WRKSRC}/Docs/Makefile*
46
	${CP} -R ${WRKSRC}/Docs/* ${STAGEDIR}${DOCSDIR}
46
	${CP} -R ${WRKSRC}/Docs/* ${STAGEDIR}${DOCSDIR}
47
47
48
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)games/barbie_seahorse_adventures/Makefile (-1 / +1 lines)
Lines 35-41 DESKTOP_ENTRIES="Barbie Seahorse Adventures" "" "${PORTNAME}" \ Link Here
35
		"${PORTNAME}" "Game;ArcadeGame;" ""
35
		"${PORTNAME}" "Game;ArcadeGame;" ""
36
36
37
post-extract:
37
post-extract:
38
	@cd ${WRKSRC} && ${RM} -f data/REMOVE_ME.txt data/sample.txt \
38
	@cd ${WRKSRC} && ${RM} data/REMOVE_ME.txt data/sample.txt \
39
		lib/pgu/LICENSE.txt
39
		lib/pgu/LICENSE.txt
40
40
41
post-patch:
41
post-patch:
(-)games/battalion/Makefile (-1 / +1 lines)
Lines 30-36 OPTIONS_DEFINE= DOCS Link Here
30
post-extract:
30
post-extract:
31
	@${GZCAT} ${DISTDIR}/battalionSUN4.tar.gz | \
31
	@${GZCAT} ${DISTDIR}/battalionSUN4.tar.gz | \
32
		(cd ${WRKDIR} && ${TAR} --unlink -xf -)
32
		(cd ${WRKDIR} && ${TAR} --unlink -xf -)
33
	@${RM} -f ${WRKSRC}/*.o
33
	@${RM} ${WRKSRC}/*.o
34
34
35
post-patch:
35
post-patch:
36
	@${REINPLACE_CMD} -e \
36
	@${REINPLACE_CMD} -e \
(-)games/biniax2/Makefile (-1 / +1 lines)
Lines 24-30 PLIST_FILES= bin/${PORTNAME} Link Here
24
PORTDATA=	*
24
PORTDATA=	*
25
25
26
post-patch:
26
post-patch:
27
	@${RM} -f ${WRKSRC}/data/Thumbs.db
27
	@${RM} ${WRKSRC}/data/Thumbs.db
28
	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' \
28
	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' \
29
		${WRKSRC}/desktop/gfx.c ${WRKSRC}/desktop/snd.c
29
		${WRKSRC}/desktop/gfx.c ${WRKSRC}/desktop/snd.c
30
30
(-)games/block/Makefile (-2 / +2 lines)
Lines 16-23 ALL_TARGET= block bed Link Here
16
MAKE_ARGS=	LL="${LDFLAGS} -lncurses" CLL="${LDFLAGS} -lncurses"
16
MAKE_ARGS=	LL="${LDFLAGS} -lncurses" CLL="${LDFLAGS} -lncurses"
17
17
18
post-extract:
18
post-extract:
19
	@${RM} -f ${WRKSRC}/block
19
	@${RM} ${WRKSRC}/block
20
	@${RM} -f ${WRKSRC}/bed
20
	@${RM} ${WRKSRC}/bed
21
21
22
do-install:
22
do-install:
23
	${INSTALL_PROGRAM} ${WRKSRC}/block ${STAGEDIR}${PREFIX}/bin
23
	${INSTALL_PROGRAM} ${WRKSRC}/block ${STAGEDIR}${PREFIX}/bin
(-)games/bomberclone/Makefile (-1 / +1 lines)
Lines 27-33 DESKTOP_ENTRIES="BomberMan clone" "" "${PORTNAME}" \ Link Here
27
		"${PORTNAME}" "Game;ArcadeGame;" ""
27
		"${PORTNAME}" "Game;ArcadeGame;" ""
28
28
29
post-extract:
29
post-extract:
30
	@${FIND} ${WRKSRC} -type d -name CVS | ${XARGS} ${RM} -rf ;
30
	@${FIND} ${WRKSRC} -type d -name CVS | ${XARGS} ${RM} -r ;
31
31
32
post-patch:
32
post-patch:
33
	@${REINPLACE_CMD} -e 's|share/games/${PACKAGE}|share/${PACKAGE}|' \
33
	@${REINPLACE_CMD} -e 's|share/games/${PACKAGE}|share/${PACKAGE}|' \
(-)games/bubbros/Makefile (-2 / +2 lines)
Lines 33-39 post-patch: Link Here
33
		${WRKSRC}/display/setup.py
33
		${WRKSRC}/display/setup.py
34
	@${FIND} ${WRKSRC} -name "*.bak" -delete -or -name "*.orig" -delete \
34
	@${FIND} ${WRKSRC} -name "*.bak" -delete -or -name "*.orig" -delete \
35
		-or -name "*.cvsignore" -delete
35
		-or -name "*.cvsignore" -delete
36
	@${FIND} ${WRKSRC} -name CVS -print0 | ${XARGS} -0 ${RM} -fr
36
	@${FIND} ${WRKSRC} -name CVS -print0 | ${XARGS} -0 ${RM} -r
37
37
38
do-build:
38
do-build:
39
	# Compile the statesaver extension module
39
	# Compile the statesaver extension module
Lines 41-47 do-build: Link Here
41
	# Compile the X-window client extension module
41
	# Compile the X-window client extension module
42
	cd ${WRKSRC}/display; ${PYTHON_CMD} setup.py build_ext -i
42
	cd ${WRKSRC}/display; ${PYTHON_CMD} setup.py build_ext -i
43
.for d in bubbob display
43
.for d in bubbob display
44
	@(cd ${WRKSRC}/${d} && ${RM} -fr build)
44
	@(cd ${WRKSRC}/${d} && ${RM} -r build)
45
.endfor
45
.endfor
46
46
47
do-install:
47
do-install:
(-)games/bugsquish/Makefile (-2 / +2 lines)
Lines 31-38 OPTIONS_DEFINE= DOCS Link Here
31
post-extract:
31
post-extract:
32
	${TAR} xfjp ${_DISTDIR}/${PORTNAME}_music${EXTRACT_SUFX} -C \
32
	${TAR} xfjp ${_DISTDIR}/${PORTNAME}_music${EXTRACT_SUFX} -C \
33
		${WRKSRC}/data/music/
33
		${WRKSRC}/data/music/
34
	@cd ${WRKSRC}/data/music ; ${RM} -f *.mod
34
	@cd ${WRKSRC}/data/music ; ${RM} *.mod
35
	@${FIND} ${WRKDIR} -name .xvpics -print0 | ${XARGS} -0 ${RM} -fr
35
	@${FIND} ${WRKDIR} -name .xvpics -print0 | ${XARGS} -0 ${RM} -r
36
36
37
post-patch:
37
post-patch:
38
	@${REINPLACE_CMD} -e 's|/usr/share/bugsquish/|${DATADIR}/| ; \
38
	@${REINPLACE_CMD} -e 's|/usr/share/bugsquish/|${DATADIR}/| ; \
(-)games/enigma/Makefile (-1 / +1 lines)
Lines 39-44 post-patch: Link Here
39
		${WRKSRC}/etc/enigma.desktop
39
		${WRKSRC}/etc/enigma.desktop
40
40
41
post-install:
41
post-install:
42
	@${RM} -d ${STAGEDIR}${DOCSDIR}/COPYING
42
	@${RM} ${STAGEDIR}${DOCSDIR}/COPYING
43
43
44
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)games/evq3/Makefile (-1 / +1 lines)
Lines 154-159 maint-gen-distfile: Link Here
154
	fi
154
	fi
155
	svn export svn://70.86.44.154/evolution/trunk/evq3 ${PORTNAME}
155
	svn export svn://70.86.44.154/evolution/trunk/evq3 ${PORTNAME}
156
	tar cjf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}
156
	tar cjf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}
157
	${RM} -rf ${PORTNAME}
157
	${RM} -r ${PORTNAME}
158
158
159
.include <bsd.port.post.mk>
159
.include <bsd.port.post.mk>
(-)games/flightgear-aircraft/Makefile (-1 / +1 lines)
Lines 72-78 post-patch: Link Here
72
		\( -name COPYING -or -name LICENSE -or -name copyright \) -delete
72
		\( -name COPYING -or -name LICENSE -or -name copyright \) -delete
73
73
74
pre-install:
74
pre-install:
75
	@${RM} -f ${PLIST}
75
	@${RM} ${PLIST}
76
	@cd ${WRKSRC} && \
76
	@cd ${WRKSRC} && \
77
	${FIND} * -type d -empty | ${SORT} \
77
	${FIND} * -type d -empty | ${SORT} \
78
		| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/Aircraft/|' >> ${PLIST} && \
78
		| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/Aircraft/|' >> ${PLIST} && \
(-)games/flightgear-data/Makefile (-2 / +2 lines)
Lines 21-30 PLIST= ${WRKDIR}/pkg-plist Link Here
21
PLIST_DIRS=	%%DATADIR%%
21
PLIST_DIRS=	%%DATADIR%%
22
22
23
post-patch:
23
post-patch:
24
	@${RM} -f ${WRKSRC}/COPYING
24
	@${RM} ${WRKSRC}/COPYING
25
25
26
pre-install:
26
pre-install:
27
	@${RM} -f ${PLIST}
27
	@${RM} ${PLIST}
28
	@cd ${WRKSRC} && \
28
	@cd ${WRKSRC} && \
29
	${FIND} * -type d -empty | ${SORT} \
29
	${FIND} * -type d -empty | ${SORT} \
30
		| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/|' >> ${PLIST} && \
30
		| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/|' >> ${PLIST} && \
(-)games/flightgear-mb339-pan/Makefile (-1 / +1 lines)
Lines 28-34 pre-extract: Link Here
28
	@${MKDIR} ${WRKSRC}
28
	@${MKDIR} ${WRKSRC}
29
29
30
pre-install:
30
pre-install:
31
	@${RM} -f ${PLIST}
31
	@${RM} ${PLIST}
32
	@cd ${WRKSRC} && \
32
	@cd ${WRKSRC} && \
33
	${FIND} * -type d -empty | ${SORT} \
33
	${FIND} * -type d -empty | ${SORT} \
34
		| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/Aircraft/|' >> ${PLIST} && \
34
		| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/Aircraft/|' >> ${PLIST} && \
(-)games/freera/Makefile (-1 / +1 lines)
Lines 29-35 post-patch: Link Here
29
		${WRKSRC}/src/video/graphicsengine.cpp ${WRKSRC}/src/vfs/vfs.cpp \
29
		${WRKSRC}/src/video/graphicsengine.cpp ${WRKSRC}/src/vfs/vfs.cpp \
30
		${WRKSRC}/data/settings/files.ini
30
		${WRKSRC}/data/settings/files.ini
31
	@${RM} ${WRKSRC}/data/settings/files.ini.bak
31
	@${RM} ${WRKSRC}/data/settings/files.ini.bak
32
	@${RM} -rf ${WRKSRC}/data/settings/ra/.svn ${WRKSRC}/data/settings/td/.svn
32
	@${RM} -r ${WRKSRC}/data/settings/ra/.svn ${WRKSRC}/data/settings/td/.svn
33
33
34
do-install:
34
do-install:
35
	${INSTALL_PROGRAM} ${WRKSRC}/freera ${STAGEDIR}${PREFIX}/bin/
35
	${INSTALL_PROGRAM} ${WRKSRC}/freera ${STAGEDIR}${PREFIX}/bin/
(-)games/gemdropx/Makefile (-1 / +1 lines)
Lines 34-40 post-patch: Link Here
34
	s|CXX=gcc|CXX?=${CC}| ; \
34
	s|CXX=gcc|CXX?=${CC}| ; \
35
	s|CFLAGS=-Wall ${SDL_CFLAGS}|CFLAGS+=-w ${SDL_CFLAGS}|' \
35
	s|CFLAGS=-Wall ${SDL_CFLAGS}|CFLAGS+=-w ${SDL_CFLAGS}|' \
36
		${WRKSRC}/Makefile
36
		${WRKSRC}/Makefile
37
	@${FIND} ${WRKDIR} -name .xvpics | ${XARGS} ${RM} -rf
37
	@${FIND} ${WRKDIR} -name .xvpics | ${XARGS} ${RM} -r
38
38
39
do-install:
39
do-install:
40
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
40
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
(-)games/gnugo/Makefile (-1 / +1 lines)
Lines 17-22 PLIST_FILES= bin/gnugo \ Link Here
17
		man/man6/gnugo.6.gz
17
		man/man6/gnugo.6.gz
18
18
19
post-extract:
19
post-extract:
20
	${RM} -f ${WRKSRC}/doc/gnugo.info*
20
	${RM} ${WRKSRC}/doc/gnugo.info*
21
21
22
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)games/gondola/Makefile (-1 / +1 lines)
Lines 37-43 post-patch: Link Here
37
	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' ${WRKSRC}/gamelib/*.py
37
	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' ${WRKSRC}/gamelib/*.py
38
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
38
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
39
		${WRKSRC}/gamelib/data.py ${WRKSRC}/gamelib/main.py
39
		${WRKSRC}/gamelib/data.py ${WRKSRC}/gamelib/main.py
40
	@${RM} -f ${WRKSRC}/gamelib/*.{bak,orig}
40
	@${RM} ${WRKSRC}/gamelib/*.{bak,orig}
41
41
42
do-install:
42
do-install:
43
	cd ${WRKSRC} && ${COPYTREE_SHARE} "snowui gamelib simplejson run_game.py" \
43
	cd ${WRKSRC} && ${COPYTREE_SHARE} "snowui gamelib simplejson run_game.py" \
(-)games/gretools/Makefile (-2 / +2 lines)
Lines 28-35 post-patch: Link Here
28
		 s|gtk\.idle_add|gobject\.idle_add|g' ${WRKSRC}/gretools.py
28
		 s|gtk\.idle_add|gobject\.idle_add|g' ${WRKSRC}/gretools.py
29
29
30
post-install:
30
post-install:
31
	${RM} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools/gretools.pyc
31
	${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools/gretools.pyc
32
	${RM} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools/gretools.pyo
32
	${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools/gretools.pyo
33
	${PYTHON_CMD} -m compileall \
33
	${PYTHON_CMD} -m compileall \
34
		-d ${PYTHONPREFIX_SITELIBDIR}/gretools \
34
		-d ${PYTHONPREFIX_SITELIBDIR}/gretools \
35
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools
35
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools
(-)games/grubik/Makefile (-1 / +1 lines)
Lines 16-22 USES= tar:tgz gnustep Link Here
16
USE_GNUSTEP=	back build
16
USE_GNUSTEP=	back build
17
17
18
post-patch:
18
post-patch:
19
	${RM} -rf ${WRKSRC}/GRubik.app/ix86
19
	${RM} -r ${WRKSRC}/GRubik.app/ix86
20
	${REINPLACE_CMD} -e 's|^//|# //|' \
20
	${REINPLACE_CMD} -e 's|^//|# //|' \
21
		-e "/GNUSTEP_INSTALLATION_DIR/d" ${WRKSRC}/GNUmakefile
21
		-e "/GNUSTEP_INSTALLATION_DIR/d" ${WRKSRC}/GNUmakefile
22
22
(-)games/heroes/Makefile (-2 / +2 lines)
Lines 49-56 post-patch: Link Here
49
	@for dir in ${DATASRC} ${SOUNDSRC} ${MUSICSRC}; do \
49
	@for dir in ${DATASRC} ${SOUNDSRC} ${MUSICSRC}; do \
50
		${FIND} $${dir} -name "Makefile*" -delete; \
50
		${FIND} $${dir} -name "Makefile*" -delete; \
51
	done
51
	done
52
	@${RM} -f ${WRKSRC}/lib/getopt.h
52
	@${RM} ${WRKSRC}/lib/getopt.h
53
	@${RM} -f ${WRKSRC}/doc/*.info*
53
	@${RM} ${WRKSRC}/doc/*.info*
54
54
55
post-install:
55
post-install:
56
.for dir in levels pics tilesets
56
.for dir in levels pics tilesets
(-)games/jigzo/Makefile (-1 / +1 lines)
Lines 41-47 post-patch: Link Here
41
	@${REINPLACE_CMD} -e "s|${i}/|${DATADIR}/${i}/|g" \
41
	@${REINPLACE_CMD} -e "s|${i}/|${DATADIR}/${i}/|g" \
42
	    ${WRKSRC}/src/main.cxx
42
	    ${WRKSRC}/src/main.cxx
43
.endfor
43
.endfor
44
	@${FIND} ${WRKSRC} -name .thumbnails | ${XARGS} ${RM} -rf
44
	@${FIND} ${WRKSRC} -name .thumbnails | ${XARGS} ${RM} -r
45
45
46
do-install:
46
do-install:
47
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
47
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
(-)games/jools/Makefile (-1 / +1 lines)
Lines 32-38 post-extract: Link Here
32
.endfor
32
.endfor
33
33
34
post-patch:
34
post-patch:
35
	@${FIND} ${WRKSRC} -name ".arch-ids" | ${XARGS} ${RM} -fr
35
	@${FIND} ${WRKSRC} -name ".arch-ids" | ${XARGS} ${RM} -r
36
	@${FIND} ${WRKSRC} -name ".arch-ids" -delete \
36
	@${FIND} ${WRKSRC} -name ".arch-ids" -delete \
37
		-or -name ".placeholder" -delete
37
		-or -name ".placeholder" -delete
38
38
(-)games/kobodeluxe/Makefile (-1 / +1 lines)
Lines 45-51 post-patch: Link Here
45
		${WRKSRC}/enemy.cpp
45
		${WRKSRC}/enemy.cpp
46
46
47
post-install:
47
post-install:
48
	@${RM} -rf ${STAGEDIR}/var
48
	@${RM} -r ${STAGEDIR}/var
49
	${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobodeluxe.desktop \
49
	${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobodeluxe.desktop \
50
		${STAGEDIR}${PREFIX}/share/applications/
50
		${STAGEDIR}${PREFIX}/share/applications/
51
	${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobo-icon.xpm \
51
	${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobo-icon.xpm \
(-)games/ldmud/Makefile (-1 / +1 lines)
Lines 66-72 post-install: Link Here
66
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
66
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
67
	cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc && ${FIND} . \
67
	cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc && ${FIND} . \
68
		| ${CPIO} -pdmu ${STAGEDIR}${DOCSDIR}
68
		| ${CPIO} -pdmu ${STAGEDIR}${DOCSDIR}
69
	@${RM} -f ${STAGEDIR}${DOCSDIR}/Makefile
69
	@${RM} ${STAGEDIR}${DOCSDIR}/Makefile
70
.endif
70
.endif
71
71
72
.include <bsd.port.mk>
72
.include <bsd.port.mk>
(-)games/linux-unrealgold/Makefile (-1 / +1 lines)
Lines 97-103 do-extract: Link Here
97
.for group in System_English Sounds_All System_All Manual_English
97
.for group in System_English Sounds_All System_All Manual_English
98
	@${CP} -Rp ${WRKDIR}/source/${group}/ \
98
	@${CP} -Rp ${WRKDIR}/source/${group}/ \
99
		${WRKDIR}/source/${group:S,_English,,:S,_All,,}
99
		${WRKDIR}/source/${group:S,_English,,:S,_All,,}
100
	@${RM} -rf ${WRKDIR}/source/${group}
100
	@${RM} -r ${WRKDIR}/source/${group}
101
.endfor
101
.endfor
102
	@${MV} ${WRKDIR}/source/Sounds_English ${WRKDIR}/source/Sounds/int
102
	@${MV} ${WRKDIR}/source/Sounds_English ${WRKDIR}/source/Sounds/int
103
# Original CD
103
# Original CD
(-)games/linux-ut2003-demo/Makefile (-1 / +1 lines)
Lines 52-58 do-extract: Link Here
52
	@cd ${WRKSRC} && ${TAR} zxf setupstuff.tar.gz
52
	@cd ${WRKSRC} && ${TAR} zxf setupstuff.tar.gz
53
53
54
pre-install:
54
pre-install:
55
	@${RM} -f ${PLIST}
55
	@${RM} ${PLIST}
56
	@cd ${WRKSRC} && \
56
	@cd ${WRKSRC} && \
57
	${FIND} ${LIBDIRS} -type f | ${SORT} \
57
	${FIND} ${LIBDIRS} -type f | ${SORT} \
58
		| ${SED} -e 's|^|${UTDIR_REL}/|' >> ${PLIST}
58
		| ${SED} -e 's|^|${UTDIR_REL}/|' >> ${PLIST}
(-)games/marsnomercy/Makefile (-1 / +1 lines)
Lines 50-55 do-install: Link Here
50
	${INSTALL_SCRIPT} ${WRKDIR}/mars-nomercy ${STAGEDIR}${PREFIX}/bin/
50
	${INSTALL_SCRIPT} ${WRKDIR}/mars-nomercy ${STAGEDIR}${PREFIX}/bin/
51
	${INSTALL_PROGRAM} ${WRKSRC}/mars ${STAGEDIR}${PREFIX}/libexec/mars
51
	${INSTALL_PROGRAM} ${WRKSRC}/mars ${STAGEDIR}${PREFIX}/libexec/mars
52
	cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
52
	cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
53
	@${RM} -f ${STAGEDIR}${DATADIR}/SConscript
53
	@${RM} ${STAGEDIR}${DATADIR}/SConscript
54
54
55
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)games/njam/Makefile (-1 / +1 lines)
Lines 29-35 DESKTOP_ENTRIES="njam" \ Link Here
29
OPTIONS_DEFINE=	DOCS
29
OPTIONS_DEFINE=	DOCS
30
30
31
post-extract:
31
post-extract:
32
	@${RM} -f ${WRKSRC}/src/*.o
32
	@${RM} ${WRKSRC}/src/*.o
33
33
34
post-patch:
34
post-patch:
35
	@${REINPLACE_CMD} -e 's|/var/lib/games|/var/games|' \
35
	@${REINPLACE_CMD} -e 's|/var/lib/games|/var/games|' \
(-)games/numptyphysics-npcomplete/Makefile (-1 / +1 lines)
Lines 21-27 DATADIR= ${PREFIX}/share/numptyphysics Link Here
21
21
22
post-extract:
22
post-extract:
23
# this level will crash the game
23
# this level will crash the game
24
	@${RM} -f "${WRKSRC}/L02_bridge Gaps tut.nph"
24
	@${RM} "${WRKSRC}/L02_bridge Gaps tut.nph"
25
25
26
do-install:
26
do-install:
27
	${MKDIR} ${STAGEDIR}${DATADIR}
27
	${MKDIR} ${STAGEDIR}${DATADIR}
(-)games/optimax/Makefile (-1 / +1 lines)
Lines 26-32 ALL_TARGET= exmars Link Here
26
OPTIONS_DEFINE=	DOCS
26
OPTIONS_DEFINE=	DOCS
27
27
28
post-extract:
28
post-extract:
29
	@${RM} -rf ${WRKSRC}/fsh94nop0.2
29
	@${RM} -r ${WRKSRC}/fsh94nop0.2
30
	@${MV} ${WRKDIR}/fsh* ${WRKDIR}/optimax/fsh* ${WRKSRC}
30
	@${MV} ${WRKDIR}/fsh* ${WRKDIR}/optimax/fsh* ${WRKSRC}
31
31
32
post-patch:
32
post-patch:
(-)games/pysolfc/Makefile (-2 / +2 lines)
Lines 45-51 post-patch: Link Here
45
		-e 's|^Exec.*|Exec=${PORTNAME}|' \
45
		-e 's|^Exec.*|Exec=${PORTNAME}|' \
46
		${WRKSRC}/data/pysol.desktop
46
		${WRKSRC}/data/pysol.desktop
47
	@${FIND} ${WRKDIR} -name .thumbnails -or -name .xvpics | \
47
	@${FIND} ${WRKDIR} -name .thumbnails -or -name .xvpics | \
48
		${XARGS} ${RM} -rf
48
		${XARGS} ${RM} -r
49
	@${FIND} ${WRKSRC} -name "*.bak" -delete
49
	@${FIND} ${WRKSRC} -name "*.bak" -delete
50
50
51
post-patch-NLS-off:
51
post-patch-NLS-off:
Lines 58-64 post-install: Link Here
58
58
59
post-install-CARDSETS-on:
59
post-install-CARDSETS-on:
60
.for cdir in ${CARDSET_DUPS}
60
.for cdir in ${CARDSET_DUPS}
61
	@${RM} -rf ${WRKDIR}/PySolFC-Cardsets-${PORTVERSION}/cardset-${cdir}
61
	@${RM} -r ${WRKDIR}/PySolFC-Cardsets-${PORTVERSION}/cardset-${cdir}
62
.endfor
62
.endfor
63
	@cd ${WRKDIR}/PySolFC-Cardsets-${PORTVERSION} && \
63
	@cd ${WRKDIR}/PySolFC-Cardsets-${PORTVERSION} && \
64
		${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}
64
		${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}
(-)games/pythonchess/Makefile (-1 / +1 lines)
Lines 31-37 DESKTOP_ENTRIES="Python Chess" "" "${PORTNAME}" \ Link Here
31
31
32
post-patch:
32
post-patch:
33
	@${FIND} ${WRKDIR} -name Thumbs.db -or -name pygame2exe_Chess.py | \
33
	@${FIND} ${WRKDIR} -name Thumbs.db -or -name pygame2exe_Chess.py | \
34
		${XARGS} ${RM} -fr
34
		${XARGS} ${RM} -r
35
	@${REINPLACE_CMD} -e 's|^.*#!.*python.*$$|#!${PYTHON_CMD}|' \
35
	@${REINPLACE_CMD} -e 's|^.*#!.*python.*$$|#!${PYTHON_CMD}|' \
36
		${WRKSRC}/*.py
36
		${WRKSRC}/*.py
37
	@(cd ${WRKSRC} && ${RM} *.py.bak)
37
	@(cd ${WRKSRC} && ${RM} *.py.bak)
(-)games/q2pro/Makefile (-1 / +1 lines)
Lines 129-135 generate-distfile: Link Here
129
	svn export -r${SVN_REV} \
129
	svn export -r${SVN_REV} \
130
		https://svn.sourceforge.net/svnroot/q2pro/q2pro q2pro
130
		https://svn.sourceforge.net/svnroot/q2pro/q2pro q2pro
131
	${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} q2pro
131
	${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} q2pro
132
	${RM} -rf q2pro
132
	${RM} -r q2pro
133
133
134
.include "${.CURDIR}/../quake2-data/Makefile.include"
134
.include "${.CURDIR}/../quake2-data/Makefile.include"
135
.include <bsd.port.mk>
135
.include <bsd.port.mk>
(-)games/quadra/Makefile (-1 / +1 lines)
Lines 39-44 maint-gen-distfile: Link Here
39
	fi
39
	fi
40
	svn export -r${SVN_REV} ${SVN_SRC} ${PORTNAME}-${PORTVERSION}
40
	svn export -r${SVN_REV} ${SVN_SRC} ${PORTNAME}-${PORTVERSION}
41
	${TAR} cjf ${DISTDIR}/${DISTNAME}.tar.bz2 ${PORTNAME}-${PORTVERSION}
41
	${TAR} cjf ${DISTDIR}/${DISTNAME}.tar.bz2 ${PORTNAME}-${PORTVERSION}
42
	${RM} -rf ${PORTNAME}-${PORTVERSION}
42
	${RM} -r ${PORTNAME}-${PORTVERSION}
43
43
44
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)games/quake-dpmod/Makefile (-1 / +1 lines)
Lines 22-28 DATADIR= ${Q1DIR}/${PORTNAME} Link Here
22
22
23
post-extract:
23
post-extract:
24
# Remove CVS directories
24
# Remove CVS directories
25
	@${FIND} ${WRKSRC} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -rf
25
	@${FIND} ${WRKSRC} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -r
26
# Fix permissions
26
# Fix permissions
27
	@${CHMOD} go-w ${WRKSRC}/dpmod/progs.dat
27
	@${CHMOD} go-w ${WRKSRC}/dpmod/progs.dat
28
28
(-)games/quake3-data/Makefile (-1 / +1 lines)
Lines 30-36 TEAMARENA_DESC= Install Quake III Team Arena data files Link Here
30
.include <bsd.port.options.mk>
30
.include <bsd.port.options.mk>
31
31
32
do-extract:
32
do-extract:
33
	@${RM} -rf ${WRKSRC}
33
	@${RM} -r ${WRKSRC}
34
	@${MKDIR} ${WRKSRC}
34
	@${MKDIR} ${WRKSRC}
35
	@${TAIL} +356 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
35
	@${TAIL} +356 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
36
		${TAR} xzf - -C ${WRKSRC}
36
		${TAR} xzf - -C ${WRKSRC}
(-)games/rnd_jue/Makefile (-4 / +4 lines)
Lines 56-65 post-extract-script: Link Here
56
		"Tutorial Alpha" rnd_tutorial_alpha)
56
		"Tutorial Alpha" rnd_tutorial_alpha)
57
57
58
	@(cd ${WRKSRC}/levels/"Walpurgis Collection" && \
58
	@(cd ${WRKSRC}/levels/"Walpurgis Collection" && \
59
		${RM} -fr "Walpurgis Gardens" "Walpurgis World")
59
		${RM} -r "Walpurgis Gardens" "Walpurgis World")
60
	@(cd ${WRKSRC}/levels/rnd_the_h_world && ${RM} -fr hwld_dceos)
60
	@(cd ${WRKSRC}/levels/rnd_the_h_world && ${RM} -r hwld_dceos)
61
	@${RM} -f ${WRKDIR}/${PORTNAME}/Readme.txt
61
	@${RM} ${WRKDIR}/${PORTNAME}/Readme.txt
62
	@${RM} -f ${WRKSRC}/levels/Readme.txt
62
	@${RM} ${WRKSRC}/levels/Readme.txt
63
63
64
post-patch:
64
post-patch:
65
	@${REINPLACE_CMD} \
65
	@${REINPLACE_CMD} \
(-)games/rockdodger/Makefile (-1 / +1 lines)
Lines 28-34 DESKTOP_ENTRIES="Rock Dodger" "" "${PORTNAME}" \ Link Here
28
post-extract:
28
post-extract:
29
	${TAR} xfjp ${_DISTDIR}/${PORTNAME}_music${EXTRACT_SUFX} -C \
29
	${TAR} xfjp ${_DISTDIR}/${PORTNAME}_music${EXTRACT_SUFX} -C \
30
		${WRKSRC}/data/
30
		${WRKSRC}/data/
31
	@cd ${WRKSRC}/data ; ${RM} -f *.mod
31
	@cd ${WRKSRC}/data ; ${RM} *.mod
32
32
33
post-patch:
33
post-patch:
34
	@${REINPLACE_CMD} -e 's|@gamesdir@|${DATADIR}|; \
34
	@${REINPLACE_CMD} -e 's|@gamesdir@|${DATADIR}|; \
(-)games/rocksndiamonds-data/Makefile (-1 / +1 lines)
Lines 104-110 post-extract-script: Link Here
104
	@(cd ${WRKDIR}/${PORTNAME} && ${MV} "Gavin Davidson 2006" \
104
	@(cd ${WRKDIR}/${PORTNAME} && ${MV} "Gavin Davidson 2006" \
105
		Gavin_Davidson_2006)
105
		Gavin_Davidson_2006)
106
	@(cd ${WRKDIR}/${PORTNAME} && ${MV} "Veysi Orak 2006" Veysi_Orak_2006)
106
	@(cd ${WRKDIR}/${PORTNAME} && ${MV} "Veysi Orak 2006" Veysi_Orak_2006)
107
	@(cd ${WRKDIR}/${PORTNAME} && ${RM} -f Readme.txt levelinfo.conf)
107
	@(cd ${WRKDIR}/${PORTNAME} && ${RM} Readme.txt levelinfo.conf)
108
108
109
do-install:
109
do-install:
110
	@(cd ${WRKDIR}/${PORTNAME} && ${COPYTREE_SHARE} . \
110
	@(cd ${WRKDIR}/${PORTNAME} && ${COPYTREE_SHARE} . \
(-)games/rocksndiamonds/Makefile (-2 / +2 lines)
Lines 65-71 OPTIONS_DEFINE= DOCS Link Here
65
65
66
post-extract-script:
66
post-extract-script:
67
	@${MKDIR} ${WRKDIR}/${PORTNAME}
67
	@${MKDIR} ${WRKDIR}/${PORTNAME}
68
	@(cd ${WRKDIR}/rnd_jue*/levels/rnd_jue && ${RM} -fr jue_sobigo)
68
	@(cd ${WRKDIR}/rnd_jue*/levels/rnd_jue && ${RM} -r jue_sobigo)
69
	@(cd ${WRKDIR}/rnd_jue*/levels && ${COPYTREE_SHARE} rnd_jue \
69
	@(cd ${WRKDIR}/rnd_jue*/levels && ${COPYTREE_SHARE} rnd_jue \
70
		${WRKDIR}/${PORTNAME})
70
		${WRKDIR}/${PORTNAME})
71
.for l in ${LEVELS_ARTSOFT:S/$/.zip/} ${LEVELS_BD_FANS:S/$/.zip/}
71
.for l in ${LEVELS_ARTSOFT:S/$/.zip/} ${LEVELS_BD_FANS:S/$/.zip/}
Lines 75-81 post-extract-script: Link Here
75
		${_DISTDIR}/Tutorial_Alpha.zip
75
		${_DISTDIR}/Tutorial_Alpha.zip
76
	@(cd ${WRKDIR}/${PORTNAME}/Tutorials && \
76
	@(cd ${WRKDIR}/${PORTNAME}/Tutorials && \
77
		${MV} "Tutorial Alpha" rnd_tutorial_alpha)
77
		${MV} "Tutorial Alpha" rnd_tutorial_alpha)
78
	@${RM} -f ${WRKDIR}/${PORTNAME}/Readme.txt
78
	@${RM} ${WRKDIR}/${PORTNAME}/Readme.txt
79
79
80
post-patch:
80
post-patch:
81
	@${REINPLACE_CMD} \
81
	@${REINPLACE_CMD} \
(-)games/scorched3d/Makefile (-1 / +1 lines)
Lines 48-54 PLIST_FILES= bin/scorched3d \ Link Here
48
PORTDATA=	*
48
PORTDATA=	*
49
49
50
post-extract:
50
post-extract:
51
	@${RM} -f ${WRKSRC}/src/client/GLEXT/[a-z]*
51
	@${RM} ${WRKSRC}/src/client/GLEXT/[a-z]*
52
52
53
post-patch:
53
post-patch:
54
	@${REINPLACE_CMD} -e \
54
	@${REINPLACE_CMD} -e \
(-)games/sdb/Makefile (-1 / +1 lines)
Lines 51-57 PLIST_SUB+= MODEL_SUFFIX="md2b" Link Here
51
post-extract:
51
post-extract:
52
	${RM} ${WRKSRC}/models/*
52
	${RM} ${WRKSRC}/models/*
53
	@cd ${WRKSRC}/models && \
53
	@cd ${WRKSRC}/models && \
54
		${RM} -f * && \
54
		${RM} * && \
55
		${UNZIP_CMD} -qj ${DISTDIR}/shotgun-debugger-1.0.mac-ppc.zip \
55
		${UNZIP_CMD} -qj ${DISTDIR}/shotgun-debugger-1.0.mac-ppc.zip \
56
			'sdb-1.0-macosx/models/*.md2b'
56
			'sdb-1.0-macosx/models/*.md2b'
57
.endif
57
.endif
(-)games/sdl_jewels/Makefile (-1 / +1 lines)
Lines 28-34 DESKTOP_ENTRIES="SDL Jewels" "" "${PORTNAME}" \ Link Here
28
		"${PORTNAME}" "Game;BoardGame;" ""
28
		"${PORTNAME}" "Game;BoardGame;" ""
29
29
30
post-patch:
30
post-patch:
31
	@${RM} -rf ${WRKSRC}/data/CVS
31
	@${RM} -r ${WRKSRC}/data/CVS
32
	@${REINPLACE_CMD} -e 's|data/bigfont.ppm|${DATADIR}/data/bigfont.ppm| ; \
32
	@${REINPLACE_CMD} -e 's|data/bigfont.ppm|${DATADIR}/data/bigfont.ppm| ; \
33
	s|dirlist\[\]="data";|dirlist[]="${DATADIR}/data";| ; \
33
	s|dirlist\[\]="data";|dirlist[]="${DATADIR}/data";| ; \
34
	s|char name[256],|char name[512],|' \
34
	s|char name[256],|char name[512],|' \
(-)games/stransball2/Makefile (-1 / +1 lines)
Lines 27-33 PORTDOCS= * Link Here
27
OPTIONS_DEFINE=	DOCS
27
OPTIONS_DEFINE=	DOCS
28
28
29
post-extract:
29
post-extract:
30
	@${RM} -f ${WRKSRC}/sound/WS_FTP.LOG
30
	@${RM} ${WRKSRC}/sound/WS_FTP.LOG
31
31
32
post-patch:
32
post-patch:
33
	@${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} \
33
	@${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} \
(-)games/trigger-data/Makefile (-1 / +1 lines)
Lines 24-30 do-install: Link Here
24
		${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/trigger.png
24
		${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/trigger.png
25
.endfor
25
.endfor
26
# Avoid conflict with trigger-rally
26
# Avoid conflict with trigger-rally
27
	@${RM} -f ${STAGEDIR}${DATADIR}/COPYING* \
27
	@${RM} ${STAGEDIR}${DATADIR}/COPYING* \
28
		${STAGEDIR}${DATADIR}/README*
28
		${STAGEDIR}${DATADIR}/README*
29
29
30
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)games/tuxpaint/Makefile (-1 / +1 lines)
Lines 47-53 OPTIONS_DEFINE= DOCS Link Here
47
47
48
post-extract:
48
post-extract:
49
	@${CHMOD} -R a+rX ${WRKSRC}
49
	@${CHMOD} -R a+rX ${WRKSRC}
50
	@${RM} -rf ${WRKSRC}/fonts/locale/vi_docs
50
	@${RM} -r ${WRKSRC}/fonts/locale/vi_docs
51
51
52
post-patch:
52
post-patch:
53
.for file in src/tuxpaint-import.sh src/tp_magic_api.h.in src/tuxpaint.conf \
53
.for file in src/tuxpaint-import.sh src/tp_magic_api.h.in src/tuxpaint.conf \
(-)games/ufoai-data/Makefile (-1 / +1 lines)
Lines 32-38 post-extract: Link Here
32
	@${RM} ${WRKSRC}/base/*.pk3
32
	@${RM} ${WRKSRC}/base/*.pk3
33
33
34
pre-install:
34
pre-install:
35
	@${RM} -f ${PLIST}
35
	@${RM} ${PLIST}
36
	@cd ${WRKSRC}/base && \
36
	@cd ${WRKSRC}/base && \
37
		${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/base/|' >> ${PLIST}
37
		${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/base/|' >> ${PLIST}
38
38
(-)games/ultimatestunts/Makefile (-1 / +1 lines)
Lines 43-49 DESKTOP_ENTRIES="Ultimate Stunts" "" "${PORTNAME}" \ Link Here
43
.include <bsd.port.options.mk>
43
.include <bsd.port.options.mk>
44
44
45
post-extract:
45
post-extract:
46
	@${FIND} ${WRKSRC} -name .svn -print0 | ${XARGS} -0 ${RM} -fr
46
	@${FIND} ${WRKSRC} -name .svn -print0 | ${XARGS} -0 ${RM} -r
47
	@(cd ${WRKSRC} && ${CP} ${PORTNAME}.conf.in ${PORTNAME}.conf)
47
	@(cd ${WRKSRC} && ${CP} ${PORTNAME}.conf.in ${PORTNAME}.conf)
48
48
49
post-patch:
49
post-patch:
(-)games/vectoroids/Makefile (-1 / +1 lines)
Lines 23-29 DESKTOP_ENTRIES="Vectoroids" "" "${PORTNAME}" \ Link Here
23
		"${PORTNAME}" "Game;ArcadeGame;" ""
23
		"${PORTNAME}" "Game;ArcadeGame;" ""
24
24
25
post-patch:
25
post-patch:
26
	@${FIND} ${WRKDIR} -name .xvpics | ${XARGS} ${RM} -fr
26
	@${FIND} ${WRKDIR} -name .xvpics | ${XARGS} ${RM} -r
27
27
28
do-install:
28
do-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
29
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
(-)games/worldofpadman/Makefile (-1 / +1 lines)
Lines 154-159 generate-distfile: Link Here
154
	fi
154
	fi
155
	svn export https://wop-engine.svn.sourceforge.net/svnroot/wop-engine/trunk ${SRC_FILE}
155
	svn export https://wop-engine.svn.sourceforge.net/svnroot/wop-engine/trunk ${SRC_FILE}
156
	tar cjf ${DISTDIR}/${SRC_FILE}.tar.bz2 ${SRC_FILE}
156
	tar cjf ${DISTDIR}/${SRC_FILE}.tar.bz2 ${SRC_FILE}
157
	${RM} -rf ${SRC_FILE}
157
	${RM} -r ${SRC_FILE}
158
158
159
.include <bsd.port.mk>
159
.include <bsd.port.mk>
(-)games/xmoto/Makefile (-1 / +1 lines)
Lines 61-67 BROKEN= does not build with gcc 4.2 Link Here
61
.endif
61
.endif
62
62
63
post-extract:
63
post-extract:
64
	@${RM} -rf ${WRKSRC}/src/ode
64
	@${RM} -r ${WRKSRC}/src/ode
65
65
66
post-patch:
66
post-patch:
67
	@${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/configure
67
	@${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/configure
(-)games/znibbles/Makefile (-1 / +1 lines)
Lines 29-35 GTK1_PLIST_FILES= bin/gznibbles man/man6/gznibbles.6.gz Link Here
29
GTK1_CONFIGURE_ENABLE=	gtk
29
GTK1_CONFIGURE_ENABLE=	gtk
30
30
31
post-extract:
31
post-extract:
32
	@${RM} -f ${WRKSRC}/src/getopt.h
32
	@${RM} ${WRKSRC}/src/getopt.h
33
33
34
post-patch:
34
post-patch:
35
	@${REINPLACE_CMD} -e \
35
	@${REINPLACE_CMD} -e \
(-)german/BBBike/Makefile (-4 / +4 lines)
Lines 76-94 do-build: Link Here
76
	${MV} ${WRKSRC}/$f ${WRKSRC}/$f.tmp
76
	${MV} ${WRKSRC}/$f ${WRKSRC}/$f.tmp
77
	${ECHO_CMD} "#! ${PERL}" > ${WRKSRC}/$f
77
	${ECHO_CMD} "#! ${PERL}" > ${WRKSRC}/$f
78
	${CAT} ${WRKSRC}/$f.tmp >> ${WRKSRC}/$f
78
	${CAT} ${WRKSRC}/$f.tmp >> ${WRKSRC}/$f
79
	${RM} -f ${WRKSRC}/$f.tmp
79
	${RM} ${WRKSRC}/$f.tmp
80
	${CHMOD} 0755 ${WRKSRC}/$f
80
	${CHMOD} 0755 ${WRKSRC}/$f
81
.endfor
81
.endfor
82
82
83
do-install:
83
do-install:
84
	-${RM} -rf ${MYDESTDIR}
84
	-${RM} -r ${MYDESTDIR}
85
	${INSTALL_MAN} ${WRKSRC}/bbbike.1 ${STAGEDIR}${PREFIX}/man/man1
85
	${INSTALL_MAN} ${WRKSRC}/bbbike.1 ${STAGEDIR}${PREFIX}/man/man1
86
	${FIND} ${WRKSRC} | ${XARGS} ${CHMOD} ugo+r
86
	${FIND} ${WRKSRC} | ${XARGS} ${CHMOD} ugo+r
87
	${FIND} ${WRKSRC} -perm -u=x | ${XARGS} ${CHMOD} go+x
87
	${FIND} ${WRKSRC} -perm -u=x | ${XARGS} ${CHMOD} go+x
88
	${CP} -rp ${WRKSRC} ${MYDESTDIR}
88
	${CP} -rp ${WRKSRC} ${MYDESTDIR}
89
	${RM} -f ${MYDESTDIR}/bbbike.1
89
	${RM} ${MYDESTDIR}/bbbike.1
90
.for f in ${BBBIKE_PERL_EXE}
90
.for f in ${BBBIKE_PERL_EXE}
91
	-${RM} -f ${STAGEDIR}${PREFIX}/bin/$f
91
	-${RM} ${STAGEDIR}${PREFIX}/bin/$f
92
	${LN} -s  ../BBBike/$f ${STAGEDIR}${PREFIX}/bin/$f
92
	${LN} -s  ../BBBike/$f ${STAGEDIR}${PREFIX}/bin/$f
93
.endfor
93
.endfor
94
94
(-)german/mediathek/Makefile (-1 / +1 lines)
Lines 47-53 DESKTOP_ENTRIES="MediathekView" \ Link Here
47
		false
47
		false
48
48
49
do-extract:
49
do-extract:
50
	@${RM} -rf ${WRKDIR}
50
	@${RM} -r ${WRKDIR}
51
	@${MKDIR} ${WRKSRC}
51
	@${MKDIR} ${WRKSRC}
52
	@${UNZIP_CMD} -q -d ${WRKSRC} ${DISTDIR}/${EXTRACT_ONLY}
52
	@${UNZIP_CMD} -q -d ${WRKSRC} ${DISTDIR}/${EXTRACT_ONLY}
53
53
(-)graphics/aalib/Makefile (-2 / +2 lines)
Lines 33-42 CONFIGURE_ARGS= --with-x=no Link Here
33
.endif
33
.endif
34
34
35
post-extract:
35
post-extract:
36
	@${RM} -f ${WRKSRC}/doc/aalib.info*
36
	@${RM} ${WRKSRC}/doc/aalib.info*
37
37
38
post-patch:
38
post-patch:
39
	@${RM} -f ${WRKSRC}/config.cache
39
	@${RM} ${WRKSRC}/config.cache
40
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; \
40
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; \
41
		s|MAKEINFO=makeinfo|MAKEINFO="makeinfo --no-split"|g' \
41
		s|MAKEINFO=makeinfo|MAKEINFO="makeinfo --no-split"|g' \
42
		${WRKSRC}/configure
42
		${WRKSRC}/configure
(-)graphics/acidwarp/Makefile (-1 / +1 lines)
Lines 29-35 BINMODE= 4555 Link Here
29
.endif
29
.endif
30
30
31
post-extract:
31
post-extract:
32
	${RM} -f ${WRKSRC}/acidwarp
32
	${RM} ${WRKSRC}/acidwarp
33
33
34
do-install:
34
do-install:
35
	${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${STAGEDIR}${PREFIX}/bin
35
	${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${STAGEDIR}${PREFIX}/bin
(-)graphics/blender-doc/Makefile (-1 / +1 lines)
Lines 21-27 post-extract: Link Here
21
	@${CHMOD} u+rwx ${WRKSRC}/* && ${CHMOD} u+rwx ${WRKSRC}/*/* && \
21
	@${CHMOD} u+rwx ${WRKSRC}/* && ${CHMOD} u+rwx ${WRKSRC}/*/* && \
22
		${CHMOD} u+rwx ${WRKSRC}/*/*/* && ${CHMOD} u+rwx ${WRKSRC}/*/*/*/*
22
		${CHMOD} u+rwx ${WRKSRC}/*/*/* && ${CHMOD} u+rwx ${WRKSRC}/*/*/*/*
23
	@cd ${WRKSRC}/htmlI/PartAT/volumetrics/gfx/ && \
23
	@cd ${WRKSRC}/htmlI/PartAT/volumetrics/gfx/ && \
24
		${RM} -rf  "Nuova cartella" "Nuova cartella (2)"
24
		${RM} -r  "Nuova cartella" "Nuova cartella (2)"
25
25
26
do-install:
26
do-install:
27
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
27
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)graphics/compupic/Makefile (-1 / +1 lines)
Lines 18-24 ONLY_FOR_ARCHS= i386 Link Here
18
do-install:
18
do-install:
19
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTNAME}.tar.gz \
19
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTNAME}.tar.gz \
20
		${EXTRACT_AFTER_ARGS} -C ${STAGEDIR}${PREFIX}
20
		${EXTRACT_AFTER_ARGS} -C ${STAGEDIR}${PREFIX}
21
	${RM} -f ${STAGEDIR}${PREFIX}/bin/compupic
21
	${RM} ${STAGEDIR}${PREFIX}/bin/compupic
22
	${LN} -sf ${PREFIX}/compupic/compupic ${STAGEDIR}${PREFIX}/bin/compupic
22
	${LN} -sf ${PREFIX}/compupic/compupic ${STAGEDIR}${PREFIX}/bin/compupic
23
	${INSTALL_MAN} ${STAGEDIR}${PREFIX}/compupic/compupic.1 \
23
	${INSTALL_MAN} ${STAGEDIR}${PREFIX}/compupic/compupic.1 \
24
		${STAGEDIR}${PREFIX}/man/man1
24
		${STAGEDIR}${PREFIX}/man/man1
(-)graphics/dri/Makefile (-1 / +1 lines)
Lines 34-39 PKGHELP= ${.CURDIR}/pkg-help Link Here
34
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
34
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
35
35
36
post-install:
36
post-install:
37
	@${RM} -rf ${STAGEDIR}/etc/OpenCL
37
	@${RM} -r ${STAGEDIR}/etc/OpenCL
38
38
39
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)graphics/exact-image/Makefile (-1 / +1 lines)
Lines 38-44 PLIST_FILES= ${BINS:S|^|bin/|} \ Link Here
38
		%%PYTHON_SITELIBDIR%%/_ExactImage.so
38
		%%PYTHON_SITELIBDIR%%/_ExactImage.so
39
39
40
post-extract:
40
post-extract:
41
	@${RM} -rf ${WRKSRC}/agg-2.4/
41
	@${RM} -r ${WRKSRC}/agg-2.4/
42
42
43
post-patch:
43
post-patch:
44
	@${REINPLACE_CMD} -e '1s|/.*|/bin/sh|;s|/usr/local|${LOCALBASE}|;\
44
	@${REINPLACE_CMD} -e '1s|/.*|/bin/sh|;s|/usr/local|${LOCALBASE}|;\
(-)graphics/gdal/Makefile (-8 / +8 lines)
Lines 114-127 post-patch: Link Here
114
	@${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/GNUmakefile
114
	@${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/GNUmakefile
115
	@${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure
115
	@${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure
116
# Cleanup bundled libraries
116
# Cleanup bundled libraries
117
	@${RM} -fr ${WRKSRC}/frmts/gif/giflib/
117
	@${RM} -r ${WRKSRC}/frmts/gif/giflib/
118
	@${RM} -fr ${WRKSRC}/frmts/gtiff/libgeotiff/
118
	@${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/
119
	@${RM} -fr ${WRKSRC}/frmts/gtiff/libtiff/
119
	@${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/
120
	@${RM} -fr ${WRKSRC}/frmts/jpeg/libjpeg/
120
	@${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg/
121
	@${RM} -fr ${WRKSRC}/frmts/jpeg/libjpeg12/
121
	@${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg12/
122
	@${RM} -fr ${WRKSRC}/frmts/png/libpng/
122
	@${RM} -r ${WRKSRC}/frmts/png/libpng/
123
	@${RM} -fr ${WRKSRC}/frmts/zlib/
123
	@${RM} -r ${WRKSRC}/frmts/zlib/
124
	@${RM} -fr ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/
124
	@${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/
125
125
126
post-install:
126
post-install:
127
	${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/
127
	${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/
(-)graphics/ilmbase/Makefile (-1 / +1 lines)
Lines 35-41 regression-test regression test check: build Link Here
35
35
36
post-install:
36
post-install:
37
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libHalf.so.${VER}
37
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libHalf.so.${VER}
38
	${RM} -f ${STAGEDIR}${PREFIX}/lib/*.la
38
	${RM} ${STAGEDIR}${PREFIX}/lib/*.la
39
.for l in libIex libIexMath libImath libIlmThread
39
.for l in libIex libIexMath libImath libIlmThread
40
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l}-${MAJORVER}.so.${VER}
40
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l}-${MAJORVER}.so.${VER}
41
	${LN} -s ${l}-${MAJORVER}.so.${VER} ${STAGEDIR}${PREFIX}/lib/${l}.so
41
	${LN} -s ${l}-${MAJORVER}.so.${VER} ${STAGEDIR}${PREFIX}/lib/${l}.so
(-)graphics/libboard/Makefile (-2 / +2 lines)
Lines 43-55 post-install: Link Here
43
.if ${PORT_OPTIONS:MDOCS}
43
.if ${PORT_OPTIONS:MDOCS}
44
	${MKDIR} ${STAGEDIR}${DOCSDIR}
44
	${MKDIR} ${STAGEDIR}${DOCSDIR}
45
	cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
45
	cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
46
	${RM} -rf ${STAGEDIR}${DOCSDIR}/.svn
46
	${RM} -r ${STAGEDIR}${DOCSDIR}/.svn
47
.endif
47
.endif
48
.if ${PORT_OPTIONS:MEXAMPLES}
48
.if ${PORT_OPTIONS:MEXAMPLES}
49
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
49
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
50
	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
50
	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
51
	cd ${WRKSRC}/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR}/
51
	cd ${WRKSRC}/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR}/
52
	${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/.svn
52
	${RM} -r ${STAGEDIR}${EXAMPLESDIR}/.svn
53
.endif
53
.endif
54
54
55
regression-test:
55
regression-test:
(-)graphics/libglapi/Makefile (-3 / +3 lines)
Lines 27-34 MESA_INSTALL_WRKSRC= src/mapi Link Here
27
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
27
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
28
28
29
post-install:
29
post-install:
30
	@${RM} -rf ${STAGEDIR}${PREFIX}/include/GLES*
30
	@${RM} -r ${STAGEDIR}${PREFIX}/include/GLES*
31
	@${RM} -f ${STAGEDIR}${PREFIX}/lib/libGLESv2.so*
31
	@${RM} ${STAGEDIR}${PREFIX}/lib/libGLESv2.so*
32
	@${RM} -f ${STAGEDIR}${PREFIX}/libdata/pkgconfig/glesv2.pc
32
	@${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/glesv2.pc
33
33
34
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)graphics/netpbm/Makefile (-1 / +1 lines)
Lines 37-43 X11_MAKE_ENV= WITH_X11=yes Link Here
37
MANPAGES_DISTFILES=	netpbm-manpages-2013-03-09${EXTRACT_SUFX}:man
37
MANPAGES_DISTFILES=	netpbm-manpages-2013-03-09${EXTRACT_SUFX}:man
38
38
39
post-extract-X11-off:
39
post-extract-X11-off:
40
	@-${RM} -f ${WRKDIR}/doc/pamx.1 # only relevant for MANPAGES=on
40
	@-${RM} ${WRKDIR}/doc/pamx.1 # only relevant for MANPAGES=on
41
41
42
post-patch:
42
post-patch:
43
	@${REINPLACE_CMD} -e 's|doc/USERDOC|${DOCSDIR}/USERDOC|g' \
43
	@${REINPLACE_CMD} -e 's|doc/USERDOC|${DOCSDIR}/USERDOC|g' \
(-)graphics/opendx/Makefile (-1 / +1 lines)
Lines 71-77 PLIST_SUB+= UNAMEP=${ARCH} Link Here
71
.include <bsd.port.pre.mk>
71
.include <bsd.port.pre.mk>
72
72
73
post-patch:
73
post-patch:
74
	@${RM} -f ${WRKSRC}/include/stamp-h.in
74
	@${RM} ${WRKSRC}/include/stamp-h.in
75
.for dir in doc help html man
75
.for dir in doc help html man
76
	@${FIND} ${WRKSRC}/${dir} -type f | ${XARGS} \
76
	@${FIND} ${WRKSRC}/${dir} -type f | ${XARGS} \
77
		${REINPLACE_CMD} -e "s;/usr/lpp;${PREFIX};g"
77
		${REINPLACE_CMD} -e "s;/usr/lpp;${PREFIX};g"
(-)graphics/p5-Image-IPTCInfo/Makefile (-1 / +1 lines)
Lines 18-24 SHEBANG_FILES= demo.pl Link Here
18
OPTIONS_DEFINE=	EXAMPLES
18
OPTIONS_DEFINE=	EXAMPLES
19
19
20
post-patch:
20
post-patch:
21
	@${RM} -f ${WRKSRC}/._*
21
	@${RM} ${WRKSRC}/._*
22
22
23
post-install:
23
post-install:
24
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
24
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(-)graphics/p5-SVG-Metadata/Makefile (-1 / +1 lines)
Lines 18-23 USES= perl5 Link Here
18
USE_PERL5=	configure
18
USE_PERL5=	configure
19
19
20
post-patch:
20
post-patch:
21
	${RM} -f ${WRKSRC}/lib/SVG/Metadata.pm.orig
21
	${RM} ${WRKSRC}/lib/SVG/Metadata.pm.orig
22
22
23
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)graphics/processing/Makefile (-1 / +1 lines)
Lines 27-33 SUB_FILES= processing Link Here
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
28
28
29
post-extract:
29
post-extract:
30
	${RM} -rf ${WRKSRC}/java
30
	${RM} -r ${WRKSRC}/java
31
	${MV} ${WRKSRC}/processing ${WRKSRC}/start-processing
31
	${MV} ${WRKSRC}/processing ${WRKSRC}/start-processing
32
	${LN} -s ${JAVA_HOME} ${WRKSRC}/java
32
	${LN} -s ${JAVA_HOME} ${WRKSRC}/java
33
	${FIND} ${WRKSRC}/modes/java/reference/ -exec ${CHMOD} 555 {} \;
33
	${FIND} ${WRKSRC}/modes/java/reference/ -exec ${CHMOD} 555 {} \;
(-)graphics/py-graphy/Makefile (-1 / +1 lines)
Lines 30-36 post-patch: Link Here
30
		${WRKSRC}/examples/*.py \
30
		${WRKSRC}/examples/*.py \
31
		${WRKSRC}/${PORTNAME}/*.py
31
		${WRKSRC}/${PORTNAME}/*.py
32
	@${FIND} ${WRKSRC} -name '.svn' -or -name '*.bak' | \
32
	@${FIND} ${WRKSRC} -name '.svn' -or -name '*.bak' | \
33
		${XARGS} ${RM} -rf
33
		${XARGS} ${RM} -r
34
34
35
do-install:
35
do-install:
36
	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
36
	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
(-)graphics/qslim/Makefile (-1 / +1 lines)
Lines 34-40 FLTK_CONFIG= ${LOCALBASE}/bin/fltk-config Link Here
34
GUI_LIBS=	$$(${FLTK_CONFIG} --use-gl --ldflags)
34
GUI_LIBS=	$$(${FLTK_CONFIG} --use-gl --ldflags)
35
35
36
post-extract:
36
post-extract:
37
	@${RM} -rf ${WRKSRC}/libgfx/
37
	@${RM} -r ${WRKSRC}/libgfx/
38
38
39
post-patch:
39
post-patch:
40
	@${REINPLACE_CMD} -e '/gfx-config/d' ${CONFIGURE_WRKSRC}/mix-config.in
40
	@${REINPLACE_CMD} -e '/gfx-config/d' ${CONFIGURE_WRKSRC}/mix-config.in
(-)graphics/raster3d/Makefile (-1 / +1 lines)
Lines 60-66 do-install: Link Here
60
.if ${PORT_OPTIONS:MEXAMPLES}
60
.if ${PORT_OPTIONS:MEXAMPLES}
61
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
61
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
62
	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
62
	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
63
	${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/msms/CVS
63
	${RM} -r ${STAGEDIR}${EXAMPLESDIR}/msms/CVS
64
.endif
64
.endif
65
65
66
.include <bsd.port.mk>
66
.include <bsd.port.mk>
(-)graphics/structuresynth/Makefile (-1 / +1 lines)
Lines 24-30 PORTDATA= * Link Here
24
24
25
post-extract:
25
post-extract:
26
	@${MV} "${WRKDIR}/Structure Synth Source Code" ${WRKSRC}
26
	@${MV} "${WRKDIR}/Structure Synth Source Code" ${WRKSRC}
27
	@${RM} -rf ${WRKSRC}/Examples/DontDeploy
27
	@${RM} -r ${WRKSRC}/Examples/DontDeploy
28
28
29
post-patch:
29
post-patch:
30
	@${REINPLACE_CMD} -e '/examplesDir/ s|"Examples"|"${DATADIR}/Examples"|; \
30
	@${REINPLACE_CMD} -e '/examplesDir/ s|"Examples"|"${DATADIR}/Examples"|; \
(-)graphics/xfig/Makefile (-3 / +3 lines)
Lines 53-61 USES+= gettext Link Here
53
53
54
post-extract:
54
post-extract:
55
	@cd ${WRKSRC}/Doc && ${FIND} . -type f -name "*.orig" -delete
55
	@cd ${WRKSRC}/Doc && ${FIND} . -type f -name "*.orig" -delete
56
	@${RM} -f ${WRKSRC}/Doc/html/images/pspbrwse.jbf
56
	@${RM} ${WRKSRC}/Doc/html/images/pspbrwse.jbf
57
	@${RM} -f ${WRKSRC}/Libraries/Examples/xfig.exe.stackdump
57
	@${RM} ${WRKSRC}/Libraries/Examples/xfig.exe.stackdump
58
	@${RM} -f ${WRKSRC}/Libraries/Fasteners/Fasteners.tar
58
	@${RM} ${WRKSRC}/Libraries/Fasteners/Fasteners.tar
59
	@cd ${WRKSRC}/Doc && ${FIND} -s . -type d -print0 | ${XARGS} -0 ${CHMOD} a+rx
59
	@cd ${WRKSRC}/Doc && ${FIND} -s . -type d -print0 | ${XARGS} -0 ${CHMOD} a+rx
60
	@cd ${WRKSRC}/Doc && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r
60
	@cd ${WRKSRC}/Doc && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r
61
	@${CHMOD} a+rx ${WRKSRC}/Libraries
61
	@${CHMOD} a+rx ${WRKSRC}/Libraries
(-)graphics/xpaint/Makefile (-2 / +2 lines)
Lines 29-38 SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr Link Here
29
29
30
CPPFLAGS+=	-I${LOCALBASE}/include
30
CPPFLAGS+=	-I${LOCALBASE}/include
31
LIBS+=		-L${LOCALBASE}/lib
31
LIBS+=		-L${LOCALBASE}/lib
32
MAKE_ENV+=	RM="${RM} -f"
32
MAKE_ENV+=	RM="${RM}"
33
33
34
post-patch:
34
post-patch:
35
	@${RM} -f ${WRKSRC}/XPaint.ad
35
	@${RM} ${WRKSRC}/XPaint.ad
36
	@${REINPLACE_CMD} -e 's/-ldl //' \
36
	@${REINPLACE_CMD} -e 's/-ldl //' \
37
		${WRKSRC}/configure ${WRKSRC}/rw/configure
37
		${WRKSRC}/configure ${WRKSRC}/rw/configure
38
	@${REINPLACE_CMD} -e '/^LIBTOOL =/s|=.*|= ${LOCALBASE}/bin/libtool|' \
38
	@${REINPLACE_CMD} -e '/^LIBTOOL =/s|=.*|= ${LOCALBASE}/bin/libtool|' \
(-)graphics/zathura/Makefile (-1 / +1 lines)
Lines 52-58 post-patch: .SILENT Link Here
52
	${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \
52
	${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \
53
		${WRKSRC}/zathura/config.h \
53
		${WRKSRC}/zathura/config.h \
54
		${WRKSRC}/doc/man/zathurarc.5.rst
54
		${WRKSRC}/doc/man/zathurarc.5.rst
55
	(cd ${WRKSRC}; ${RM} -f zathura.1 zathurarc.5)
55
	(cd ${WRKSRC}; ${RM} zathura.1 zathurarc.5)
56
56
57
post-patch-NLS-off: .SILENT
57
post-patch-NLS-off: .SILENT
58
	${REINPLACE_CMD} -e '/-C po/d'\
58
	${REINPLACE_CMD} -e '/-C po/d'\
(-)irc/atheme-services/Makefile (-1 / +1 lines)
Lines 90-96 post-install: Link Here
90
	@${RMDIR} ${STAGEDIR}/var/log/atheme
90
	@${RMDIR} ${STAGEDIR}/var/log/atheme
91
	@${RMDIR} ${STAGEDIR}/var/run/atheme
91
	@${RMDIR} ${STAGEDIR}/var/run/atheme
92
.if !${PORT_OPTIONS:MDOCS}
92
.if !${PORT_OPTIONS:MDOCS}
93
	@${RM} -Rf ${STAGEDIR}${PREFIX}/share/doc/atheme
93
	@${RM} -R ${STAGEDIR}${PREFIX}/share/doc/atheme
94
.endif
94
.endif
95
95
96
.include <bsd.port.mk>
96
.include <bsd.port.mk>
(-)irc/eggdrop-devel/Makefile (-1 / +1 lines)
Lines 118-124 do-install-DOCS-on: Link Here
118
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
118
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
119
	cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}/html
119
	cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}/html
120
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/settings
120
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/settings
121
	cd ${WRKSRC}/doc/settings && ${RM} -rf CVS \
121
	cd ${WRKSRC}/doc/settings && ${RM} -r CVS \
122
		&& ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/settings
122
		&& ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/settings
123
123
124
.include <bsd.port.mk>
124
.include <bsd.port.mk>
(-)irc/epic4/Makefile (-1 / +1 lines)
Lines 67-73 CONFIGURE_ARGS+= --with-termcap Link Here
67
.endif
67
.endif
68
68
69
post-extract:
69
post-extract:
70
	@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf
70
	@${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -r
71
71
72
post-patch:
72
post-patch:
73
	@${RM} ${WRKDIR}/help/Makefile
73
	@${RM} ${WRKDIR}/help/Makefile
(-)irc/gseen.mod/Makefile (-1 / +1 lines)
Lines 27-33 MAKE_JOBS_UNSAFE= yes Link Here
27
SUB_FILES=	pkg-message
27
SUB_FILES=	pkg-message
28
28
29
do-extract:
29
do-extract:
30
	@${RM} -rf ${WRKDIR}
30
	@${RM} -r ${WRKDIR}
31
	@${MKDIR} ${WRKDIR}
31
	@${MKDIR} ${WRKDIR}
32
	@${CP} -R $$(${MAKE} -C ${PORTSDIR}/irc/eggdrop -V WRKSRC) ${WRKSRC}
32
	@${CP} -R $$(${MAKE} -C ${PORTSDIR}/irc/eggdrop -V WRKSRC) ${WRKSRC}
33
	cd ${WRKSRC}/src/mod && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
33
	cd ${WRKSRC}/src/mod && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
(-)irc/irssi-dcc_send_limiter/Makefile (-1 / +1 lines)
Lines 29-35 PLIST_FILES= lib/irssi/modules/lib/${DISTNAME}.so Link Here
29
CFLAGS+=	-shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
29
CFLAGS+=	-shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
30
30
31
do-extract:
31
do-extract:
32
	@${RM} -rf ${WRKSRC}
32
	@${RM} -r ${WRKSRC}
33
	@${MKDIR} ${WRKSRC}
33
	@${MKDIR} ${WRKSRC}
34
	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
34
	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
35
35
(-)irc/keitairc2/Makefile (-2 / +2 lines)
Lines 25-34 NO_BUILD= yes Link Here
25
SHEBANG_FILES=	keitairc
25
SHEBANG_FILES=	keitairc
26
26
27
post-extract:
27
post-extract:
28
	${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM} -rf
28
	${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM} -r
29
29
30
post-patch:
30
post-patch:
31
	${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -rf
31
	${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -r
32
	${REINPLACE_CMD} -i '' -e "s,/usr/share/keitairc/lib,${DATADIR}/lib,"  \
32
	${REINPLACE_CMD} -i '' -e "s,/usr/share/keitairc/lib,${DATADIR}/lib,"  \
33
		${WRKSRC}/keitairc
33
		${WRKSRC}/keitairc
34
	${REINPLACE_CMD} -i '' -e "s,__KEITAIRC_DATA_DIR__,${DATADIR}/lib,"  \
34
	${REINPLACE_CMD} -i '' -e "s,__KEITAIRC_DATA_DIR__,${DATADIR}/lib,"  \
(-)irc/py-supybot-plugins/Makefile (-1 / +1 lines)
Lines 19-25 USES= python tar:bzip2 Link Here
19
post-extract:
19
post-extract:
20
# Delete, because it now included in irc/py-supybot
20
# Delete, because it now included in irc/py-supybot
21
.for data in BadWords Dunno Success _darcs
21
.for data in BadWords Dunno Success _darcs
22
	@${RM} -rf ${WRKSRC}/${data}
22
	@${RM} -r ${WRKSRC}/${data}
23
.endfor
23
.endfor
24
24
25
do-build:
25
do-build:
(-)irc/thales/Makefile (-1 / +1 lines)
Lines 55-61 CONFIGURE_ARGS:= --with-ircd=${_IRCD} \ Link Here
55
MODES_CONFIGURE_OFF=	--enable-no-modes
55
MODES_CONFIGURE_OFF=	--enable-no-modes
56
56
57
post-patch: .SILENT
57
post-patch: .SILENT
58
	${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} \;
58
	${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -r {} \;
59
	${REINPLACE_CMD} -e 's,thales.conf,${PREFIX}/etc/&,' \
59
	${REINPLACE_CMD} -e 's,thales.conf,${PREFIX}/etc/&,' \
60
		${WRKSRC}/src/conf.h
60
		${WRKSRC}/src/conf.h
61
61
(-)irc/xchat-fish/Makefile (-1 / +1 lines)
Lines 31-37 PORTDOCS= FiSH-xchat.txt \ Link Here
31
OPTIONS_DEFINE=	DOCS
31
OPTIONS_DEFINE=	DOCS
32
32
33
post-patch:
33
post-patch:
34
	${RM} -f ${WRKSRC}/mir*
34
	${RM} ${WRKSRC}/mir*
35
	${CP} -pf ${FILESDIR}/Makefile ${WRKSRC}/
35
	${CP} -pf ${FILESDIR}/Makefile ${WRKSRC}/
36
36
37
do-install:
37
do-install:
(-)japanese/VTPSfont/Makefile (-1 / +1 lines)
Lines 18-24 NO_WRKSUBDIR= yes Link Here
18
NO_BUILD=	yes
18
NO_BUILD=	yes
19
19
20
do-extract:
20
do-extract:
21
		@${RM} -rf ${WRKSRC}
21
		@${RM} -r ${WRKSRC}
22
		@${MKDIR} ${WRKSRC}
22
		@${MKDIR} ${WRKSRC}
23
		@for file in ${DISTFILES}; do \
23
		@for file in ${DISTFILES}; do \
24
			${CP} ${DISTDIR}/${DIST_SUBDIR}/$${file} ${WRKSRC}; \
24
			${CP} ${DISTDIR}/${DIST_SUBDIR}/$${file} ${WRKSRC}; \
(-)japanese/celrw/Makefile (-1 / +1 lines)
Lines 21-27 OPTIONS_DEFINE= DOCS Link Here
21
21
22
post-extract:
22
post-extract:
23
.for file in config.guess config.sub install.sh
23
.for file in config.guess config.sub install.sh
24
	@${RM} -f ${WRKSRC}/${file}
24
	@${RM} ${WRKSRC}/${file}
25
	@${TOUCH} ${WRKSRC}/${file}
25
	@${TOUCH} ${WRKSRC}/${file}
26
.endfor
26
.endfor
27
27
(-)japanese/eb/Makefile (-1 / +1 lines)
Lines 83-89 NLS_CONFIGURE_ON= --with-gettext-includes=${LOCALBASE}/include \ Link Here
83
NLS_CONFIGURE_OFF=	--disable-nls
83
NLS_CONFIGURE_OFF=	--disable-nls
84
84
85
post-extract:
85
post-extract:
86
	${RM} -fr ${WRKSRC}/zlib
86
	${RM} -r ${WRKSRC}/zlib
87
	${MKDIR} ${WRKDIR}/appendix
87
	${MKDIR} ${WRKDIR}/appendix
88
.for file in ${APPENDIXFILES}
88
.for file in ${APPENDIXFILES}
89
	${TAR} --exclude CVS -C ${WRKDIR}/appendix -zxmf \
89
	${TAR} --exclude CVS -C ${WRKDIR}/appendix -zxmf \
(-)japanese/edict-utf-8/Makefile (-1 / +1 lines)
Lines 34-40 PLIST_SUB= OWNER="${SHAREOWN}" GROUP="${SHAREGRP}" MODE="${SHAREMODE}" Link Here
34
NO_WRKSUBDIR=	yes
34
NO_WRKSUBDIR=	yes
35
35
36
do-extract:
36
do-extract:
37
	@${RM} -rf ${WRKSRC}
37
	@${RM} -r ${WRKSRC}
38
	@${MKDIR} ${WRKSRC}
38
	@${MKDIR} ${WRKSRC}
39
	@for file in ${DICTFILES}; do \
39
	@for file in ${DICTFILES}; do \
40
		${ECHO} "Extracting $$file"; \
40
		${ECHO} "Extracting $$file"; \
(-)japanese/edict/Makefile (-1 / +1 lines)
Lines 72-78 do-install: Link Here
72
	(cd ${STAGEDIR}${DATADIR} && ${CHMOD} ${SHAREMODE} \
72
	(cd ${STAGEDIR}${DATADIR} && ${CHMOD} ${SHAREMODE} \
73
		${dict:R} ${dict:R}.xjdx)
73
		${dict:R} ${dict:R}.xjdx)
74
.endfor
74
.endfor
75
	${RM} -f ${STAGEDIR}${PREFIX}/bin/xjdic
75
	${RM} ${STAGEDIR}${PREFIX}/bin/xjdic
76
	${LN} -s ${PREFIX}/bin/xjdic_sa ${STAGEDIR}${PREFIX}/bin/xjdic
76
	${LN} -s ${PREFIX}/bin/xjdic_sa ${STAGEDIR}${PREFIX}/bin/xjdic
77
	(cd ${WRKSRC} && ${INSTALL_DATA} radicals.tm radkfile kanjstroke \
77
	(cd ${WRKSRC} && ${INSTALL_DATA} radicals.tm radkfile kanjstroke \
78
		romkana.cnv vconj ${STAGEDIR}${DATADIR})
78
		romkana.cnv vconj ${STAGEDIR}${DATADIR})
(-)japanese/groff/Makefile (-1 / +1 lines)
Lines 50-56 post-patch: Link Here
50
	    ${WRKSRC}/doc/groff.texinfo
50
	    ${WRKSRC}/doc/groff.texinfo
51
51
52
post-build:
52
post-build:
53
	${RM} -f ${WRKSRC}/doc/groff ${WRKSRC}/doc/groff-*
53
	${RM} ${WRKSRC}/doc/groff ${WRKSRC}/doc/groff-*
54
	cd ${WRKSRC}/doc && makeinfo --no-split groff.texinfo
54
	cd ${WRKSRC}/doc && makeinfo --no-split groff.texinfo
55
	cd ${WRKSRC} && ${FIND} font -name DESC \
55
	cd ${WRKSRC} && ${FIND} font -name DESC \
56
	    | ${XARGS} ${REINPLACE_CMD} -E \
56
	    | ${XARGS} ${REINPLACE_CMD} -E \
(-)japanese/lookup/Makefile (-1 / +1 lines)
Lines 33-39 CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \ Link Here
33
33
34
post-install:
34
post-install:
35
.if (${EMACS_PORT_NAME} == "xemacs21-mule")
35
.if (${EMACS_PORT_NAME} == "xemacs21-mule")
36
	${RM} -f ${WRKDIR}/${MANIFEST}
36
	${RM} ${WRKDIR}/${MANIFEST}
37
	emacsdir=`${ECHO_CMD} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \
37
	emacsdir=`${ECHO_CMD} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \
38
	${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \
38
	${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \
39
		${SED} -e "s;^$${emacsdir}/;;" > ${WRKDIR}/${MANIFEST}
39
		${SED} -e "s;^$${emacsdir}/;;" > ${WRKDIR}/${MANIFEST}
(-)japanese/mailman/Makefile (-3 / +3 lines)
Lines 147-156 post-install: Link Here
147
	    && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
147
	    && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
148
	    -f -d ${MAILMANDIR}/${dir} ${dir})
148
	    -f -d ${MAILMANDIR}/${dir} ${dir})
149
.endfor
149
.endfor
150
	@${RM} -f ${STAGEDIR}${MAILMANDIR}/pythonlib/*.egg-info
150
	@${RM} ${STAGEDIR}${MAILMANDIR}/pythonlib/*.egg-info
151
	# mm_cfg.py is handled by pkg-plist:
151
	# mm_cfg.py is handled by pkg-plist:
152
	@${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.py
152
	@${RM} ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.py
153
	@${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.pyc
153
	@${RM} ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.pyc
154
	@${MKDIR} ${STAGEDIR}${PREFIX}/${IMGDIR}
154
	@${MKDIR} ${STAGEDIR}${PREFIX}/${IMGDIR}
155
.for imgfile in ${IMGFILES}
155
.for imgfile in ${IMGFILES}
156
	${CP} ${STAGEDIR}${MAILMANDIR}/icons/${imgfile} ${STAGEDIR}${PREFIX}/${IMGDIR}
156
	${CP} ${STAGEDIR}${MAILMANDIR}/icons/${imgfile} ${STAGEDIR}${PREFIX}/${IMGDIR}
(-)japanese/man-doc/Makefile (-1 / +1 lines)
Lines 66-72 pre-install: Link Here
66
# XXX: make gendist generates distfile.  Use with WITH_CVS.
66
# XXX: make gendist generates distfile.  Use with WITH_CVS.
67
gendist: extract
67
gendist: extract
68
	cd ${WRKDIR} && \
68
	cd ${WRKDIR} && \
69
		${FIND} . -type d -a -name CVS | ${XARGS} ${RM} -rf && \
69
		${FIND} . -type d -a -name CVS | ${XARGS} ${RM} -r && \
70
		${TAR} czf ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}
70
		${TAR} czf ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}
71
71
72
.include <bsd.port.mk>
72
.include <bsd.port.mk>
(-)japanese/p5-DateTime-Calendar-Japanese-Era/Makefile (-1 / +1 lines)
Lines 27-33 USES= perl5 Link Here
27
USE_PERL5=	configure
27
USE_PERL5=	configure
28
28
29
post-patch:
29
post-patch:
30
	@${RM} -rf ${WRKSRC}/inc
30
	@${RM} -r ${WRKSRC}/inc
31
31
32
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
33
33
(-)java/eclipse-findbugs/Makefile (-1 / +1 lines)
Lines 25-31 PLIST_SUB= \ Link Here
25
	DISTNAME="${DISTNAME}"
25
	DISTNAME="${DISTNAME}"
26
26
27
post-extract:
27
post-extract:
28
	@${RM} -Rf ${WRKSRC}/src
28
	@${RM} -R ${WRKSRC}/src
29
29
30
do-install:
30
do-install:
31
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${DISTNAME})
31
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${DISTNAME})
(-)java/eclipse-shelled/Makefile (-1 / +1 lines)
Lines 35-40 do-install: Link Here
35
		| ${SED} -ne 's,^,@dir lib/,p' >> ${TMPPLIST}
35
		| ${SED} -ne 's,^,@dir lib/,p' >> ${TMPPLIST}
36
	@${MV} ${WRKSRC}/eclipse/plugins ${WRKSRC}/plugins
36
	@${MV} ${WRKSRC}/eclipse/plugins ${WRKSRC}/plugins
37
	@${MV} ${WRKSRC}/eclipse/features ${WRKSRC}/features
37
	@${MV} ${WRKSRC}/eclipse/features ${WRKSRC}/features
38
	@${RM} -rf ${WRKSRC}/eclipse
38
	@${RM} -r ${WRKSRC}/eclipse
39
39
40
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)java/eclipse/Makefile (-2 / +2 lines)
Lines 110-116 do-build: Link Here
110
		-DbuildId=${ECLIPSE_BUILDID})
110
		-DbuildId=${ECLIPSE_BUILDID})
111
111
112
do-install:
112
do-install:
113
	@${RM} -rf ${STAGEDIR}${PORTDESTDIR}
113
	@${RM} -r ${STAGEDIR}${PORTDESTDIR}
114
	@( cd ${STAGEDIR}${PREFIX}/lib; ${TAR} xfz ${PRODUCT_TARFILE} )
114
	@( cd ${STAGEDIR}${PREFIX}/lib; ${TAR} xfz ${PRODUCT_TARFILE} )
115
	@${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name \*.orig -delete
115
	@${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name \*.orig -delete
116
	@${SED} \
116
	@${SED} \
Lines 139-144 do-install: Link Here
139
	@${ECHO_CMD} "@dir share/eclipse/dropins" >> ${TMPPLIST}
139
	@${ECHO_CMD} "@dir share/eclipse/dropins" >> ${TMPPLIST}
140
140
141
distclean:
141
distclean:
142
	${RM} -rf ${DISTDIR}/eclipse
142
	${RM} -r ${DISTDIR}/eclipse
143
143
144
.include <bsd.port.mk>
144
.include <bsd.port.mk>
(-)java/javahelp/Makefile (-1 / +1 lines)
Lines 23-29 OPTIONS_DEFINE= DOCS EXAMPLES Link Here
23
post-patch:
23
post-patch:
24
	${REINPLACE_CMD} -e 's|$$JAVAHELP_HOME/javahelp/bin/|${JAVAJARDIR}/|' ${WRKSRC}/javahelp/bin/jhindexer
24
	${REINPLACE_CMD} -e 's|$$JAVAHELP_HOME/javahelp/bin/|${JAVAJARDIR}/|' ${WRKSRC}/javahelp/bin/jhindexer
25
	${REINPLACE_CMD} -e 's|$$JAVAHELP_HOME/javahelp/bin/|${JAVAJARDIR}/|' ${WRKSRC}/javahelp/bin/jhsearch
25
	${REINPLACE_CMD} -e 's|$$JAVAHELP_HOME/javahelp/bin/|${JAVAJARDIR}/|' ${WRKSRC}/javahelp/bin/jhsearch
26
	(cd ${WRKSRC} && ${RM} -rf `${FIND} . -type d -name .svn`)
26
	(cd ${WRKSRC} && ${RM} -r `${FIND} . -type d -name .svn`)
27
27
28
do-install:
28
do-install:
29
	${INSTALL_DATA} ${WRKSRC}/LICENSE.html ${STAGEDIR}${JAVAJARDIR}/LICENSE.${PORTNAME}.html
29
	${INSTALL_DATA} ${WRKSRC}/LICENSE.html ${STAGEDIR}${JAVAJARDIR}/LICENSE.${PORTNAME}.html
(-)java/jdbcpool/Makefile (-1 / +1 lines)
Lines 20-26 PORTDOCS+= javadoc Link Here
20
OPTIONS_DEFINE=	DOCS EXAMPLES
20
OPTIONS_DEFINE=	DOCS EXAMPLES
21
21
22
post-extract:
22
post-extract:
23
	@${FIND} ${WRKSRC} -name CVS -type dir | ${XARGS} ${RM} -rf
23
	@${FIND} ${WRKSRC} -name CVS -type dir | ${XARGS} ${RM} -r
24
24
25
do-install:
25
do-install:
26
	${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
26
	${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
(-)java/jgraph/Makefile (-1 / +1 lines)
Lines 45-51 do-build: Link Here
45
.if ${PORT_OPTIONS:MCOMPILE} || ${PORT_OPTIONS:MDOCS}
45
.if ${PORT_OPTIONS:MCOMPILE} || ${PORT_OPTIONS:MDOCS}
46
	@cd ${WRKSRC} && ${ANT} ${ANT_TARGETS}
46
	@cd ${WRKSRC} && ${ANT} ${ANT_TARGETS}
47
	@${MV} -f ${WRKSRC}/build/lib/${PORTNAME}.jar ${WRKSRC}/lib
47
	@${MV} -f ${WRKSRC}/build/lib/${PORTNAME}.jar ${WRKSRC}/lib
48
	@${RM} -fr ${WRKSRC}/doc && \
48
	@${RM} -r ${WRKSRC}/doc && \
49
		${MV} -f ${WRKSRC}/build/doc/api ${WRKSRC}/doc
49
		${MV} -f ${WRKSRC}/build/doc/api ${WRKSRC}/doc
50
.endif
50
.endif
51
51
(-)java/jlex/Makefile (-1 / +1 lines)
Lines 21-27 SUB_FILES= jlex.sh pkg-message Link Here
21
SUB_LIST=	JAVAJARDIR=${JAVAJARDIR}
21
SUB_LIST=	JAVAJARDIR=${JAVAJARDIR}
22
22
23
do-extract:
23
do-extract:
24
	@${RM} -rf ${WRKDIR}
24
	@${RM} -r ${WRKDIR}
25
	@${MKDIR} ${WRKDIR}
25
	@${MKDIR} ${WRKDIR}
26
	@${CP} ${DISTDIR}/Main.java ${WRKDIR}
26
	@${CP} ${DISTDIR}/Main.java ${WRKDIR}
27
27
(-)java/openjdk6/Makefile (-2 / +2 lines)
Lines 265-275 post-build: Link Here
265
.if ${PORT_OPTIONS:MTZUPDATE}
265
.if ${PORT_OPTIONS:MTZUPDATE}
266
	@# Update time zones
266
	@# Update time zones
267
.if defined(BUILD_JRE)
267
.if defined(BUILD_JRE)
268
	@${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib/zi
268
	@${RM} -r ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib/zi
269
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
269
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
270
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib
270
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib
271
.else
271
.else
272
	@${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi
272
	@${RM} -r ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi
273
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
273
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
274
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib
274
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib
275
.endif
275
.endif
(-)java/openjdk7/Makefile (-2 / +2 lines)
Lines 170-180 post-patch: Link Here
170
pre-install:
170
pre-install:
171
	@# Update time zones
171
	@# Update time zones
172
.if !defined(BUILD_JRE)
172
.if !defined(BUILD_JRE)
173
	@${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi
173
	@${RM} -r ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi
174
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
174
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
175
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib
175
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib
176
.else
176
.else
177
	@${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib/zi
177
	@${RM} -r ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib/zi
178
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
178
	@${LN} -s -f ${LOCALBASE}/share/java/zi \
179
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib
179
	    ${WRKSRC}/build/${OPENJDK_OSARCH}/j2re-image/lib
180
.endif
180
.endif
(-)java/openjdk8/Makefile (-1 / +1 lines)
Lines 418-424 post-build: Link Here
418
418
419
post-build-TZUPDATE-on:
419
post-build-TZUPDATE-on:
420
	@# Update time zones
420
	@# Update time zones
421
	@${RM} -rf ${JRE_IMAGEDIR}/lib/zi
421
	@${RM} -r ${JRE_IMAGEDIR}/lib/zi
422
	@${LN} -sf ${LOCALBASE}/share/java/zi ${JRE_IMAGEDIR}/lib
422
	@${LN} -sf ${LOCALBASE}/share/java/zi ${JRE_IMAGEDIR}/lib
423
423
424
do-install:
424
do-install:
(-)java/visualvm/Makefile (-2 / +2 lines)
Lines 24-31 SUB_FILES= visualvm.desktop Link Here
24
24
25
post-extract:
25
post-extract:
26
	@${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.dll' -or -name '*.exe' \) -delete
26
	@${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.dll' -or -name '*.exe' \) -delete
27
	@${RM} -rf ${WRKSRC}/profiler/lib/deployed
27
	@${RM} -r ${WRKSRC}/profiler/lib/deployed
28
	@${RM} -rf ${WRKSRC}/profiler/lib/jfluid-server-15.jar
28
	@${RM} -r ${WRKSRC}/profiler/lib/jfluid-server-15.jar
29
29
30
post-patch:
30
post-patch:
31
	@${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/bin/visualvm
31
	@${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/bin/visualvm
(-)java/wildfly100/Makefile (-2 / +2 lines)
Lines 60-67 post-patch: Link Here
60
do-build:
60
do-build:
61
	${RM} ${WRKSRC}/bin/*.bat
61
	${RM} ${WRKSRC}/bin/*.bat
62
	${RM} ${WRKSRC}/bin/*.ps1
62
	${RM} ${WRKSRC}/bin/*.ps1
63
	${RM} -rf ${WRKSRC}/bin/service
63
	${RM} -r ${WRKSRC}/bin/service
64
	${RM} -rf ${WRKSRC}/bin/init.d
64
	${RM} -r ${WRKSRC}/bin/init.d
65
65
66
do-install:
66
do-install:
67
	${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}
67
	${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}
(-)java/wildfly90/Makefile (-2 / +2 lines)
Lines 59-66 post-patch: Link Here
59
do-build:
59
do-build:
60
	${RM} ${WRKSRC}/bin/*.bat
60
	${RM} ${WRKSRC}/bin/*.bat
61
	${RM} ${WRKSRC}/bin/*.ps1
61
	${RM} ${WRKSRC}/bin/*.ps1
62
	${RM} -rf ${WRKSRC}/bin/service
62
	${RM} -r ${WRKSRC}/bin/service
63
	${RM} -rf ${WRKSRC}/bin/init.d
63
	${RM} -r ${WRKSRC}/bin/init.d
64
64
65
do-install:
65
do-install:
66
	${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}
66
	${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}
(-)korean/kaistfonts/Makefile (-1 / +1 lines)
Lines 23-29 NO_WRKSUBDIR= yes Link Here
23
MAKE_ENV=	DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}" FONTSDIR="${FONTSDIR}"
23
MAKE_ENV=	DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}" FONTSDIR="${FONTSDIR}"
24
24
25
do-extract:
25
do-extract:
26
	@${RM} -fr ${WRKSRC} && \
26
	@${RM} -r ${WRKSRC} && \
27
	${MKDIR} ${WRKSRC} && \
27
	${MKDIR} ${WRKSRC} && \
28
	cd ${WRKSRC} && \
28
	cd ${WRKSRC} && \
29
	for file in ${DISTFILES}; do \
29
	for file in ${DISTFILES}; do \
(-)korean/ko.TeX/Makefile (-2 / +2 lines)
Lines 45-52 do-build: Link Here
45
	@${CC} ${CFLAGS} -o ${WRKSRC}/build/hmakeindex \
45
	@${CC} ${CFLAGS} -o ${WRKSRC}/build/hmakeindex \
46
		${WRKSRC}/util/hmakeindex.c
46
		${WRKSRC}/util/hmakeindex.c
47
47
48
	@${RM} -rf ${WRKSRC}/latex/euc/unfonts
48
	@${RM} -r ${WRKSRC}/latex/euc/unfonts
49
	@${RM} -rf ${WRKSRC}/latex/utf/unfonts
49
	@${RM} -r ${WRKSRC}/latex/utf/unfonts
50
50
51
do-install:
51
do-install:
52
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
52
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)korean/man-doc/Makefile (-1 / +1 lines)
Lines 18-24 RUN_DEPENDS= ${LOCALBASE}/bin/groff:japanese/groff Link Here
18
post-patch:
18
post-patch:
19
	${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
19
	${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
20
		-e 's,gnroff,groff,g' ${WRKSRC}/scripts/kman.in > ${WRKDIR}/kman
20
		-e 's,gnroff,groff,g' ${WRKSRC}/scripts/kman.in > ${WRKDIR}/kman
21
	${RM} -rf ${WRKSRC}/scripts
21
	${RM} -r ${WRKSRC}/scripts
22
22
23
do-build:
23
do-build:
24
	${FIND} ${WRKSRC} -type f | ${XARGS} ${GZIP_CMD}
24
	${FIND} ${WRKSRC} -type f | ${XARGS} ${GZIP_CMD}
(-)lang/asis/Makefile (-1 / +1 lines)
Lines 33-39 post-extract: Link Here
33
		${WRKSRC}/Makefile \
33
		${WRKSRC}/Makefile \
34
		${WRKSRC}/Makefile.stub \
34
		${WRKSRC}/Makefile.stub \
35
		${WRKSRC}/common.gpr
35
		${WRKSRC}/common.gpr
36
	@${RM} -rf ${WRKSRC}/gnat
36
	@${RM} -r ${WRKSRC}/gnat
37
37
38
do-build:
38
do-build:
39
	# This target is recreated because -j cannot be set, but
39
	# This target is recreated because -j cannot be set, but
(-)lang/ats/bsd.ats.mk (-1 / +1 lines)
Lines 34-40 pre-build: Link Here
34
do-install:
34
do-install:
35
	${MKDIR} ${ATS_LIBDIR}/contrib
35
	${MKDIR} ${ATS_LIBDIR}/contrib
36
	cd ${INSTALL_WRKSRC}/contrib && \
36
	cd ${INSTALL_WRKSRC}/contrib && \
37
	${RM} -f ${ATS_CTRB}/contrib && \
37
	${RM} ${ATS_CTRB}/contrib && \
38
	${COPYTREE_SHARE} ${ATS_CTRB} ${ATS_LIBDIR}/contrib
38
	${COPYTREE_SHARE} ${ATS_CTRB} ${ATS_LIBDIR}/contrib
39
.if !defined(NOPORTEXAMPLES) && defined(ATS_CTRBEXAMPLE)
39
.if !defined(NOPORTEXAMPLES) && defined(ATS_CTRBEXAMPLE)
40
	${MKDIR} ${ATS_CTRBEXAMPLEDIR}
40
	${MKDIR} ${ATS_CTRBEXAMPLEDIR}
(-)lang/beignet/Makefile (-1 / +1 lines)
Lines 51-57 post-patch: Link Here
51
		${WRKSRC}/CMakeLists.txt
51
		${WRKSRC}/CMakeLists.txt
52
52
53
post-install:
53
post-install:
54
	@${RM} -rf ${STAGEDIR}${PREFIX}/include/CL
54
	@${RM} -r ${STAGEDIR}${PREFIX}/include/CL
55
55
56
#post-install-TESTS-on:
56
#post-install-TESTS-on:
57
#	@cd ${WRKSRC}/utests && sh ./setenv.sh && ./utest_run
57
#	@cd ${WRKSRC}/utests && sh ./setenv.sh && ./utest_run
(-)lang/ccl/Makefile (-4 / +4 lines)
Lines 42-52 SUB_FILES= ccl.sh Link Here
42
post-patch:
42
post-patch:
43
	@${SED}	-i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/tools/asdf.lisp
43
	@${SED}	-i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/tools/asdf.lisp
44
	@${FIND} ${WRKSRC} -name .svn -or -name .cvsignore -or -name "*.orig" \
44
	@${FIND} ${WRKSRC} -name .svn -or -name .cvsignore -or -name "*.orig" \
45
		| ${XARGS} ${RM} -r -f
45
		| ${XARGS} ${RM} -r
46
46
47
do-build:
47
do-build:
48
	@${RM} -f ${WRKSRC}/fx86cl ${WRKSRC}/fx86cl64
48
	@${RM} ${WRKSRC}/fx86cl ${WRKSRC}/fx86cl64
49
	@cd ${WRKSRC}/lisp-kernel/freebsd${LISP_ARCH} && ${MAKE} && ${RM} -f *.o
49
	@cd ${WRKSRC}/lisp-kernel/freebsd${LISP_ARCH} && ${MAKE} && ${RM} *.o
50
	@cd ${WRKSRC} && ${ECHO_CMD} | ${SETENV} -u CCL_DEFAULT_DIRECTORY ./${FX86CL} --no-init --batch --quiet \
50
	@cd ${WRKSRC} && ${ECHO_CMD} | ${SETENV} -u CCL_DEFAULT_DIRECTORY ./${FX86CL} --no-init --batch --quiet \
51
		--eval "(ccl:rebuild-ccl :full t)" \
51
		--eval "(ccl:rebuild-ccl :full t)" \
52
		--eval "(quit)"
52
		--eval "(quit)"
Lines 55-61 do-install: Link Here
55
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ccl
55
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ccl
56
	${CP} -r ${WRKSRC}/* ${STAGEDIR}${CCL_DIRECTORY}
56
	${CP} -r ${WRKSRC}/* ${STAGEDIR}${CCL_DIRECTORY}
57
	@for i in ${EXCLUDE}; do \
57
	@for i in ${EXCLUDE}; do \
58
		${RM} -r -f ${STAGEDIR}${CCL_DIRECTORY}/$${i}; \
58
		${RM} -r ${STAGEDIR}${CCL_DIRECTORY}/$${i}; \
59
	done
59
	done
60
	${INSTALL_SCRIPT} ${WRKDIR}/ccl.sh ${STAGEDIR}${PREFIX}/bin/ccl
60
	${INSTALL_SCRIPT} ${WRKDIR}/ccl.sh ${STAGEDIR}${PREFIX}/bin/ccl
61
61
(-)lang/ceylon/Makefile (-1 / +1 lines)
Lines 27-33 CEYLON_DIRS= contrib lib repo samples templates Link Here
27
.include <bsd.port.pre.mk>
27
.include <bsd.port.pre.mk>
28
28
29
do-install:
29
do-install:
30
	${RM} -f ${WRKSRC}/bin/*.bat
30
	${RM} ${WRKSRC}/bin/*.bat
31
31
32
	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/* ${STAGEDIR}/${MAN1PREFIX}/man/man1
32
	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/* ${STAGEDIR}/${MAN1PREFIX}/man/man1
33
33
(-)lang/clang33/Makefile (-2 / +2 lines)
Lines 102-108 pre-fetch: Link Here
102
.endif
102
.endif
103
103
104
post-extract:
104
post-extract:
105
	${RM} -f ${BUILD_WRKSRC}
105
	${RM} ${BUILD_WRKSRC}
106
	${MV} ${WRKDIR}/${CLANG_NAME} ${BUILD_WRKSRC}
106
	${MV} ${WRKDIR}/${CLANG_NAME} ${BUILD_WRKSRC}
107
107
108
post-patch:
108
post-patch:
Lines 179-185 PLIST_DIR_LIST= include/clang \ Link Here
179
			lib/python
179
			lib/python
180
180
181
build-plist:
181
build-plist:
182
	${RM} -f ${PLIST}
182
	${RM} ${PLIST}
183
.for command in ${COMMANDS}
183
.for command in ${COMMANDS}
184
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}
184
	${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}
185
.endfor
185
.endfor
(-)lang/clang34/Makefile (-2 / +2 lines)
Lines 104-110 pre-fetch: Link Here
104
.endif
104
.endif
105
105
106
post-extract:
106
post-extract:
107
	${RM} -f ${BUILD_WRKSRC}
107
	${RM} ${BUILD_WRKSRC}
108
	${MV} ${WRKDIR}/${CLANG_EXTRACT} ${BUILD_WRKSRC}
108
	${MV} ${WRKDIR}/${CLANG_EXTRACT} ${BUILD_WRKSRC}
109
109
110
post-patch:
110
post-patch:
Lines 180-186 PLIST_DIR_LIST= include/clang \ Link Here
180
			lib/python
180
			lib/python
181
181
182
build-plist:
182
build-plist:
183
	${RM} -f ${PLIST}
183
	${RM} ${PLIST}
184
.for command in ${COMMANDS}
184
.for command in ${COMMANDS}
185
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
185
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
186
.endfor
186
.endfor
(-)lang/clang35/Makefile (-2 / +2 lines)
Lines 100-106 pre-fetch: Link Here
100
.endif
100
.endif
101
101
102
post-extract:
102
post-extract:
103
	${RM} -f ${BUILD_WRKSRC}
103
	${RM} ${BUILD_WRKSRC}
104
	${MV} ${WRKDIR}/${CLANG_EXTRACT} ${BUILD_WRKSRC}
104
	${MV} ${WRKDIR}/${CLANG_EXTRACT} ${BUILD_WRKSRC}
105
105
106
post-patch:
106
post-patch:
Lines 176-182 PLIST_DIR_LIST= include/clang \ Link Here
176
			lib/python
176
			lib/python
177
177
178
build-plist:
178
build-plist:
179
	${RM} -f ${PLIST}
179
	${RM} ${PLIST}
180
.for command in ${COMMANDS}
180
.for command in ${COMMANDS}
181
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
181
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
182
.endfor
182
.endfor
(-)lang/clang36/Makefile (-2 / +2 lines)
Lines 103-109 pre-fetch: Link Here
103
.endif
103
.endif
104
104
105
post-extract:
105
post-extract:
106
	${RM} -f ${BUILD_WRKSRC}
106
	${RM} ${BUILD_WRKSRC}
107
	${MV} ${WRKDIR}/${CLANG_EXTRACT} ${BUILD_WRKSRC}
107
	${MV} ${WRKDIR}/${CLANG_EXTRACT} ${BUILD_WRKSRC}
108
108
109
post-patch:
109
post-patch:
Lines 174-180 PLIST_DIR_LIST= include/clang \ Link Here
174
			lib/python
174
			lib/python
175
175
176
build-plist:
176
build-plist:
177
	${RM} -f ${PLIST}
177
	${RM} ${PLIST}
178
.for command in ${COMMANDS}
178
.for command in ${COMMANDS}
179
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
179
	${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}
180
.endfor
180
.endfor
(-)lang/cocor/Makefile (-1 / +1 lines)
Lines 27-33 post-patch: Link Here
27
	@${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|' ${WRKSRC}/${i}
27
	@${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|' ${WRKSRC}/${i}
28
.endfor
28
.endfor
29
.for i in cplus2 taste taste_cp
29
.for i in cplus2 taste taste_cp
30
	@${RM} -f ${WRKSRC}/${i}/unix.mk.*
30
	@${RM} ${WRKSRC}/${i}/unix.mk.*
31
.endfor
31
.endfor
32
32
33
do-install:
33
do-install:
(-)lang/erlang-runtime15/Makefile (-1 / +1 lines)
Lines 178-184 post-install: Link Here
178
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
178
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
179
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
179
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
180
	done
180
	done
181
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
181
	${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
182
.if ${PORT_OPTIONS:MDOCS}
182
.if ${PORT_OPTIONS:MDOCS}
183
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
183
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
184
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
184
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
(-)lang/erlang-runtime16/Makefile (-1 / +1 lines)
Lines 183-189 post-install: Link Here
183
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
183
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
184
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
184
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
185
	done
185
	done
186
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
186
	${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
187
.if ${PORT_OPTIONS:MDOCS}
187
.if ${PORT_OPTIONS:MDOCS}
188
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
188
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
189
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
189
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
(-)lang/erlang-runtime17/Makefile (-1 / +1 lines)
Lines 200-206 post-install: Link Here
200
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
200
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
201
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
201
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
202
	done
202
	done
203
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
203
	${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
204
.if ${PORT_OPTIONS:MDOCS}
204
.if ${PORT_OPTIONS:MDOCS}
205
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
205
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
206
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
206
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
(-)lang/erlang-runtime18/Makefile (-1 / +1 lines)
Lines 197-203 post-install: Link Here
197
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
197
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
198
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
198
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
199
	done
199
	done
200
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
200
	${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
201
.if ${PORT_OPTIONS:MDOCS}
201
.if ${PORT_OPTIONS:MDOCS}
202
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
202
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
203
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
203
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
(-)lang/erlang-runtime19/Makefile (-1 / +1 lines)
Lines 211-217 post-install: Link Here
211
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
211
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
212
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
212
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
213
	done
213
	done
214
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
214
	${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
215
.if ${PORT_OPTIONS:MDOCS}
215
.if ${PORT_OPTIONS:MDOCS}
216
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
216
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
217
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
217
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
(-)lang/erlang/Makefile (-1 / +1 lines)
Lines 235-241 post-install: Link Here
235
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
235
			-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} \
236
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
236
			"man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \
237
	done
237
	done
238
	${RM} -rf ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
238
	${RM} -r ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/man/cat?
239
.if ${PORT_OPTIONS:MDOCS}
239
.if ${PORT_OPTIONS:MDOCS}
240
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
240
	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
241
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
241
		-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
(-)lang/fpc/Makefile.units (-1 / +1 lines)
Lines 41-47 LATE_INSTALL_ARGS= fpc_exampleinstall Link Here
41
41
42
post-extract:
42
post-extract:
43
	@cd ${WRKDIR}/${WRKUNITDIR} && \
43
	@cd ${WRKDIR}/${WRKUNITDIR} && \
44
		${FIND} ${WRKSRC} -type d -name .svn | ${XARGS} ${RM} -rf
44
		${FIND} ${WRKSRC} -type d -name .svn | ${XARGS} ${RM} -r
45
.if ${PKGNAMESUFFIX:M-utils} || ${PKGNAMESUFFIX:M-ide}
45
.if ${PKGNAMESUFFIX:M-utils} || ${PKGNAMESUFFIX:M-ide}
46
	${REINPLACE_CMD} -e '/globalunit/ s|\.\./packages|${FPCDIR}|' \
46
	${REINPLACE_CMD} -e '/globalunit/ s|\.\./packages|${FPCDIR}|' \
47
		${WRKDIR}/${WRKUNITDIR}/Makefile
47
		${WRKDIR}/${WRKUNITDIR}/Makefile
(-)lang/gawk/Makefile (-1 / +1 lines)
Lines 31-37 INSTALL_TARGET= install-strip Link Here
31
PLIST_SUB+=	VERSION=${PORTVERSION}
31
PLIST_SUB+=	VERSION=${PORTVERSION}
32
32
33
post-patch:
33
post-patch:
34
	@${RM} -f ${WRKSRC}/doc/*.info
34
	@${RM} ${WRKSRC}/doc/*.info
35
	@${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \
35
	@${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \
36
		${WRKSRC}/configure
36
		${WRKSRC}/configure
37
37
(-)lang/gcc/Makefile (-4 / +4 lines)
Lines 145-151 pre-everything:: Link Here
145
145
146
pre-configure:
146
pre-configure:
147
	cd ${WRKSRC} ; contrib/gcc_update --touch
147
	cd ${WRKSRC} ; contrib/gcc_update --touch
148
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
148
	@${RM} ${WRKSRC}/gcc/*/*.info*
149
149
150
.if defined(MAINTAINER_MODE)
150
.if defined(MAINTAINER_MODE)
151
full-regression-test: build
151
full-regression-test: build
Lines 154-164 full-regression-test: build Link Here
154
.endif
154
.endif
155
155
156
post-stage:
156
post-stage:
157
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
157
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
158
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
158
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
159
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
159
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
160
	# Add target libraries and include files to packaging list.
160
	# Add target libraries and include files to packaging list.
161
	${RM} -f ${WRKDIR}/PLIST.lib
161
	${RM} ${WRKDIR}/PLIST.lib
162
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
162
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
163
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
163
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
164
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
164
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc46/Makefile (-4 / +4 lines)
Lines 113-119 pre-everything:: Link Here
113
113
114
pre-configure:
114
pre-configure:
115
	cd ${WRKSRC} ; contrib/gcc_update --touch
115
	cd ${WRKSRC} ; contrib/gcc_update --touch
116
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
116
	@${RM} ${WRKSRC}/gcc/*/*.info*
117
117
118
.if defined(MAINTAINER_MODE)
118
.if defined(MAINTAINER_MODE)
119
full-regression-test: build
119
full-regression-test: build
Lines 122-132 full-regression-test: build Link Here
122
.endif
122
.endif
123
123
124
post-stage:
124
post-stage:
125
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
125
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
126
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
126
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
127
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
127
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
128
	# Add target libraries and include files to packaging list.
128
	# Add target libraries and include files to packaging list.
129
	${RM} -f ${WRKDIR}/PLIST.lib
129
	${RM} ${WRKDIR}/PLIST.lib
130
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
130
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
131
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
131
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
132
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
132
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc47/Makefile (-4 / +4 lines)
Lines 121-127 pre-everything:: Link Here
121
121
122
pre-configure:
122
pre-configure:
123
	cd ${WRKSRC} ; contrib/gcc_update --touch
123
	cd ${WRKSRC} ; contrib/gcc_update --touch
124
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
124
	@${RM} ${WRKSRC}/gcc/*/*.info*
125
125
126
.if defined(MAINTAINER_MODE)
126
.if defined(MAINTAINER_MODE)
127
full-regression-test: build
127
full-regression-test: build
Lines 130-140 full-regression-test: build Link Here
130
.endif
130
.endif
131
131
132
post-stage:
132
post-stage:
133
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
133
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
134
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
134
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
135
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
135
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
136
	# Add target libraries and include files to packaging list.
136
	# Add target libraries and include files to packaging list.
137
	${RM} -f ${WRKDIR}/PLIST.lib
137
	${RM} ${WRKDIR}/PLIST.lib
138
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
138
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
139
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
139
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
140
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
140
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc48/Makefile (-4 / +4 lines)
Lines 135-141 pre-everything:: Link Here
135
135
136
pre-configure:
136
pre-configure:
137
	cd ${WRKSRC} ; contrib/gcc_update --touch
137
	cd ${WRKSRC} ; contrib/gcc_update --touch
138
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
138
	@${RM} ${WRKSRC}/gcc/*/*.info*
139
139
140
.if defined(MAINTAINER_MODE)
140
.if defined(MAINTAINER_MODE)
141
full-regression-test: build
141
full-regression-test: build
Lines 144-154 full-regression-test: build Link Here
144
.endif
144
.endif
145
145
146
post-stage:
146
post-stage:
147
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
147
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
148
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
148
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
149
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
149
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
150
	# Add target libraries and include files to packaging list.
150
	# Add target libraries and include files to packaging list.
151
	${RM} -f ${WRKDIR}/PLIST.lib
151
	${RM} ${WRKDIR}/PLIST.lib
152
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
152
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
153
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
153
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
154
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
154
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc49/Makefile (-4 / +4 lines)
Lines 149-155 pre-everything:: Link Here
149
149
150
pre-configure:
150
pre-configure:
151
	cd ${WRKSRC} ; contrib/gcc_update --touch
151
	cd ${WRKSRC} ; contrib/gcc_update --touch
152
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
152
	@${RM} ${WRKSRC}/gcc/*/*.info*
153
153
154
.if defined(MAINTAINER_MODE)
154
.if defined(MAINTAINER_MODE)
155
full-regression-test: build
155
full-regression-test: build
Lines 158-168 full-regression-test: build Link Here
158
.endif
158
.endif
159
159
160
post-stage:
160
post-stage:
161
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
161
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
162
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
162
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
163
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
163
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
164
	# Add target libraries and include files to packaging list.
164
	# Add target libraries and include files to packaging list.
165
	${RM} -f ${WRKDIR}/PLIST.lib
165
	${RM} ${WRKDIR}/PLIST.lib
166
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
166
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
167
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
167
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
168
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
168
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc5-aux/Makefile (-1 / +1 lines)
Lines 287-293 post-stage: Link Here
287
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/include ${NEWBSDIR}/
287
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/include ${NEWBSDIR}/
288
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/libexec ${NEWBSDIR}/
288
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/libexec ${NEWBSDIR}/
289
	${RM} ${NEWBSDIR}/bin/${GARCH}*
289
	${RM} ${NEWBSDIR}/bin/${GARCH}*
290
	${RM} -rf ${NEWBSDIR}/lib/gcc/${BLD_TARGET}/${GCC_VERSION}/include-fixed
290
	${RM} -r ${NEWBSDIR}/lib/gcc/${BLD_TARGET}/${GCC_VERSION}/include-fixed
291
	(cd ${NEWBSDIR}/.. ; ${TAR} -cyf ${BSFILENAME} bootstrap)
291
	(cd ${NEWBSDIR}/.. ; ${TAR} -cyf ${BSFILENAME} bootstrap)
292
.endif
292
.endif
293
293
(-)lang/gcc5-devel/Makefile (-4 / +4 lines)
Lines 152-158 pre-everything:: Link Here
152
152
153
pre-configure:
153
pre-configure:
154
	cd ${WRKSRC} ; contrib/gcc_update --touch
154
	cd ${WRKSRC} ; contrib/gcc_update --touch
155
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
155
	@${RM} ${WRKSRC}/gcc/*/*.info*
156
156
157
.if defined(MAINTAINER_MODE)
157
.if defined(MAINTAINER_MODE)
158
full-regression-test: build
158
full-regression-test: build
Lines 161-171 full-regression-test: build Link Here
161
.endif
161
.endif
162
162
163
post-stage:
163
post-stage:
164
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
164
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
165
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
165
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
166
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
166
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
167
	# Add target libraries and include files to packaging list.
167
	# Add target libraries and include files to packaging list.
168
	${RM} -f ${WRKDIR}/PLIST.lib
168
	${RM} ${WRKDIR}/PLIST.lib
169
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
169
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
170
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
170
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
171
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
171
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc5/Makefile (-4 / +4 lines)
Lines 152-158 pre-everything:: Link Here
152
152
153
pre-configure:
153
pre-configure:
154
	cd ${WRKSRC} ; contrib/gcc_update --touch
154
	cd ${WRKSRC} ; contrib/gcc_update --touch
155
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
155
	@${RM} ${WRKSRC}/gcc/*/*.info*
156
156
157
.if defined(MAINTAINER_MODE)
157
.if defined(MAINTAINER_MODE)
158
full-regression-test: build
158
full-regression-test: build
Lines 161-171 full-regression-test: build Link Here
161
.endif
161
.endif
162
162
163
post-stage:
163
post-stage:
164
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
164
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
165
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
165
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
166
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
166
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
167
	# Add target libraries and include files to packaging list.
167
	# Add target libraries and include files to packaging list.
168
	${RM} -f ${WRKDIR}/PLIST.lib
168
	${RM} ${WRKDIR}/PLIST.lib
169
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
169
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
170
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
170
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
171
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
171
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc6-aux/Makefile (-1 / +1 lines)
Lines 273-279 post-stage: Link Here
273
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/include ${NEWBSDIR}/
273
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/include ${NEWBSDIR}/
274
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/libexec ${NEWBSDIR}/
274
	${CP} -a ${STAGEDIR}${PKG_PREFIX}/libexec ${NEWBSDIR}/
275
	${RM} ${NEWBSDIR}/bin/${GARCH}*
275
	${RM} ${NEWBSDIR}/bin/${GARCH}*
276
	${RM} -rf ${NEWBSDIR}/lib/gcc/${BLD_TARGET}/${GCC_VERSION}/include-fixed
276
	${RM} -r ${NEWBSDIR}/lib/gcc/${BLD_TARGET}/${GCC_VERSION}/include-fixed
277
	(cd ${NEWBSDIR}/.. ; ${TAR} -cyf ${BSFILENAME} bootstrap)
277
	(cd ${NEWBSDIR}/.. ; ${TAR} -cyf ${BSFILENAME} bootstrap)
278
.endif
278
.endif
279
279
(-)lang/gcc6-devel/Makefile (-4 / +4 lines)
Lines 155-161 pre-everything:: Link Here
155
155
156
pre-configure:
156
pre-configure:
157
	cd ${WRKSRC} ; contrib/gcc_update --touch
157
	cd ${WRKSRC} ; contrib/gcc_update --touch
158
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
158
	@${RM} ${WRKSRC}/gcc/*/*.info*
159
159
160
.if defined(MAINTAINER_MODE)
160
.if defined(MAINTAINER_MODE)
161
full-regression-test: build
161
full-regression-test: build
Lines 164-174 full-regression-test: build Link Here
164
.endif
164
.endif
165
165
166
post-stage:
166
post-stage:
167
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
167
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
168
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
168
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
169
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
169
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
170
	# Add target libraries and include files to packaging list.
170
	# Add target libraries and include files to packaging list.
171
	${RM} -f ${WRKDIR}/PLIST.lib
171
	${RM} ${WRKDIR}/PLIST.lib
172
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
172
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
173
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
173
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
174
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
174
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc6/Makefile (-4 / +4 lines)
Lines 156-162 pre-everything:: Link Here
156
156
157
pre-configure:
157
pre-configure:
158
	cd ${WRKSRC} ; contrib/gcc_update --touch
158
	cd ${WRKSRC} ; contrib/gcc_update --touch
159
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
159
	@${RM} ${WRKSRC}/gcc/*/*.info*
160
160
161
.if defined(MAINTAINER_MODE)
161
.if defined(MAINTAINER_MODE)
162
full-regression-test: build
162
full-regression-test: build
Lines 165-175 full-regression-test: build Link Here
165
.endif
165
.endif
166
166
167
post-stage:
167
post-stage:
168
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
168
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
169
	${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
169
	${RM} ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
170
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
170
	         ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1
171
	# Add target libraries and include files to packaging list.
171
	# Add target libraries and include files to packaging list.
172
	${RM} -f ${WRKDIR}/PLIST.lib
172
	${RM} ${WRKDIR}/PLIST.lib
173
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
173
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
174
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
174
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
175
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
175
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gcc7-devel/Makefile (-3 / +3 lines)
Lines 128-134 pre-everything:: Link Here
128
128
129
pre-configure:
129
pre-configure:
130
	cd ${WRKSRC} ; contrib/gcc_update --touch
130
	cd ${WRKSRC} ; contrib/gcc_update --touch
131
	@${RM} -f ${WRKSRC}/gcc/*/*.info*
131
	@${RM} ${WRKSRC}/gcc/*/*.info*
132
132
133
.if defined(MAINTAINER_MODE)
133
.if defined(MAINTAINER_MODE)
134
full-regression-test: build
134
full-regression-test: build
Lines 137-145 full-regression-test: build Link Here
137
.endif
137
.endif
138
138
139
post-stage:
139
post-stage:
140
	${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
140
	${RM} ${STAGEDIR}${PREFIX}/man/man7/*
141
	# Add target libraries and include files to packaging list.
141
	# Add target libraries and include files to packaging list.
142
	${RM} -f ${WRKDIR}/PLIST.lib
142
	${RM} ${WRKDIR}/PLIST.lib
143
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///}
143
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///}
144
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
144
	cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
145
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
145
	    ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
(-)lang/gforth/Makefile (-1 / +1 lines)
Lines 70-76 install-doc: Link Here
70
70
71
# Remove unused file
71
# Remove unused file
72
remove-empty-files:
72
remove-empty-files:
73
	@${RM} -f ${STAGEDIR}${DATADIR}/site-forth/siteinit.fs
73
	@${RM} ${STAGEDIR}${DATADIR}/site-forth/siteinit.fs
74
74
75
# Remove unused directories
75
# Remove unused directories
76
remove-empty-dirs:
76
remove-empty-dirs:
(-)lang/ghc/Makefile (-5 / +5 lines)
Lines 253-263 post-install-script: Link Here
253
		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
253
		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
254
.if ${PORT_OPTIONS:MDOCS}
254
.if ${PORT_OPTIONS:MDOCS}
255
	# Cleanup the indexen created by gen_contents_index
255
	# Cleanup the indexen created by gen_contents_index
256
	@${ECHO} "@unexec ${RM} -f %D/${DOCSDIR_REL}/html/libraries/doc-index-*.html" >> ${TMPPLIST}
256
	@${ECHO} "@unexec ${RM} %D/${DOCSDIR_REL}/html/libraries/doc-index-*.html" >> ${TMPPLIST}
257
	@${ECHO} "@unexec ${RM} -f %D/${DOCSDIR_REL}/html/libraries/index*.html" >> ${TMPPLIST}
257
	@${ECHO} "@unexec ${RM} %D/${DOCSDIR_REL}/html/libraries/index*.html" >> ${TMPPLIST}
258
	@${ECHO} "@unexec ${RM} -f %D/${DOCSDIR_REL}/html/libraries/*.png" >> ${TMPPLIST}
258
	@${ECHO} "@unexec ${RM} %D/${DOCSDIR_REL}/html/libraries/*.png" >> ${TMPPLIST}
259
.endif
259
.endif
260
	@${ECHO} '@unexec ${RM} -f %D/${GHC_LIBDIR_REL}/package.conf.d/package.cache' >>${TMPPLIST}
260
	@${ECHO} '@unexec ${RM} %D/${GHC_LIBDIR_REL}/package.conf.d/package.cache' >>${TMPPLIST}
261
	@${ECHO} "@exec %D/bin/ghc-pkg recache" >>${TMPPLIST}
261
	@${ECHO} "@exec %D/bin/ghc-pkg recache" >>${TMPPLIST}
262
.if ${PORT_OPTIONS:MDOCS}
262
.if ${PORT_OPTIONS:MDOCS}
263
	@${ECHO} '@exec ${SH} -c "cd %D/${DOCSDIR_REL}/html/libraries && ./gen_contents_index"' >> ${TMPPLIST}
263
	@${ECHO} '@exec ${SH} -c "cd %D/${DOCSDIR_REL}/html/libraries && ./gen_contents_index"' >> ${TMPPLIST}
Lines 299-305 pre-configure: Link Here
299
.endif
299
.endif
300
300
301
post-install:
301
post-install:
302
	@${RM} -f ${STAGEDIR}${PREFIX}/bin/haddock
302
	@${RM} ${STAGEDIR}${PREFIX}/bin/haddock
303
.if ${PORT_OPTIONS:MDOCS}
303
.if ${PORT_OPTIONS:MDOCS}
304
	@${LN} -sf haddock-ghc-${GHC_VERSION} ${STAGEDIR}${PREFIX}/bin/haddock
304
	@${LN} -sf haddock-ghc-${GHC_VERSION} ${STAGEDIR}${PREFIX}/bin/haddock
305
.endif
305
.endif
(-)lang/gjs/Makefile (-1 / +1 lines)
Lines 24-29 LIBS+= -L${LOCALBASE}/lib Link Here
24
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
25
25
26
post-install:
26
post-install:
27
	@${RM} -rf ${STAGEDIR}${PREFIX}/libexec/gjs
27
	@${RM} -r ${STAGEDIR}${PREFIX}/libexec/gjs
28
28
29
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)lang/gscheme/Makefile (-1 / +1 lines)
Lines 26-32 post-patch: Link Here
26
		${WRKSRC}/SchemeTypes.h ${WRKSRC}/SchemeTypes.m
26
		${WRKSRC}/SchemeTypes.h ${WRKSRC}/SchemeTypes.m
27
27
28
post-install:
28
post-install:
29
	${RM} -f ${STAGEDIR}${GNUSTEP_PREFIX}/System/Applications/GScheme.app/Resources/library.scm~
29
	${RM} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Applications/GScheme.app/Resources/library.scm~
30
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GScheme.app/GScheme
30
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GScheme.app/GScheme
31
31
32
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)lang/icc/Makefile (-5 / +5 lines)
Lines 88-98 intel-patch: extract Link Here
88
pre-patch: intel-patch
88
pre-patch: intel-patch
89
# Remove files we do not need on FreeBSD.
89
# Remove files we do not need on FreeBSD.
90
	for i in `${CAT} ${FILESDIR}/exclude`; do \
90
	for i in `${CAT} ${FILESDIR}/exclude`; do \
91
		${RM} -rf ${WRKSRC}/opt/${COMPILERDIR}/$$i; done
91
		${RM} -r ${WRKSRC}/opt/${COMPILERDIR}/$$i; done
92
.if ! ${PORT_OPTIONS:MDOCS}
92
.if ! ${PORT_OPTIONS:MDOCS}
93
# Remove docs.
93
# Remove docs.
94
	for i in `${CAT} ${FILESDIR}/exclude_noportdocs`; do \
94
	for i in `${CAT} ${FILESDIR}/exclude_noportdocs`; do \
95
		${RM} -rf ${WRKSRC}/opt/${COMPILERDIR}/$$i; done
95
		${RM} -r ${WRKSRC}/opt/${COMPILERDIR}/$$i; done
96
.endif
96
.endif
97
# Allow everyone to use it.
97
# Allow everyone to use it.
98
	${CHMOD} a+rx ${WRKSRC}/opt
98
	${CHMOD} a+rx ${WRKSRC}/opt
Lines 180-196 do-install: Link Here
180
		${CPIO} -pdu --quiet ${STAGEDIR}${PREFIX}
180
		${CPIO} -pdu --quiet ${STAGEDIR}${PREFIX}
181
181
182
	${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/man/man1/icc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
182
	${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/man/man1/icc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
183
	${RM} -rf ${STAGEDIR}${PREFIX}/${COMPILERDIR}/man
183
	${RM} -r ${STAGEDIR}${PREFIX}/${COMPILERDIR}/man
184
184
185
.if ${PORT_OPTIONS:MDOCS}
185
.if ${PORT_OPTIONS:MDOCS}
186
	${MKDIR} ${STAGEDIR}${DOCSDIR}
186
	${MKDIR} ${STAGEDIR}${DOCSDIR}
187
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
187
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
188
	${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc/* ${STAGEDIR}${DOCSDIR}
188
	${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc/* ${STAGEDIR}${DOCSDIR}
189
	${RM} -rf ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc
189
	${RM} -r ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc
190
.else
190
.else
191
	${MKDIR} ${STAGEDIR}${DOCSDIR}
191
	${MKDIR} ${STAGEDIR}${DOCSDIR}
192
	${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc/* ${STAGEDIR}${DOCSDIR}
192
	${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc/* ${STAGEDIR}${DOCSDIR}
193
	${RM} -rf ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc
193
	${RM} -r ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc
194
.endif
194
.endif
195
195
196
.include <bsd.port.post.mk>
196
.include <bsd.port.post.mk>
(-)lang/jakarta-commons-jelly/Makefile (-1 / +1 lines)
Lines 27-33 PORTDATA= * Link Here
27
OPTIONS_DEFINE=	DOCS
27
OPTIONS_DEFINE=	DOCS
28
28
29
post-extract:
29
post-extract:
30
	${RM} -f ${WRKSRC}/bin/jelly.bat ${WRKSRC}/bin/jelly
30
	${RM} ${WRKSRC}/bin/jelly.bat ${WRKSRC}/bin/jelly
31
31
32
do-install:
32
do-install:
33
	(cd ${WRKSRC} && ${COPYTREE_SHARE} "custom lib bin" \
33
	(cd ${WRKSRC} && ${COPYTREE_SHARE} "custom lib bin" \
(-)lang/jruby/Makefile (-1 / +1 lines)
Lines 51-57 post-patch: Link Here
51
	@${ECHO_MSG} " [ DONE ]"
51
	@${ECHO_MSG} " [ DONE ]"
52
52
53
	@${ECHO_MSG} -n ">> Removing unneeded files..."
53
	@${ECHO_MSG} -n ">> Removing unneeded files..."
54
	@${RM} -f `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.exe'` `${FIND} ${WRKSRC} -name '*.bak'`
54
	@${RM} `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.exe'` `${FIND} ${WRKSRC} -name '*.bak'`
55
	@${ECHO_MSG} " [ DONE ]"
55
	@${ECHO_MSG} " [ DONE ]"
56
56
57
.for target in ${REPLACE_FILES}
57
.for target in ${REPLACE_FILES}
(-)lang/modula3/Makefile (-1 / +1 lines)