aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/timidity++/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile
index 9891dde47240..a0fa506d2c3f 100644
--- a/audio/timidity++/Makefile
+++ b/audio/timidity++/Makefile
@@ -58,13 +58,6 @@ LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
CPPFLAGS+= -I${LOCALBASE}/include/libpng15
.endif
-.if ${HAVE_GNOME:Mesound}!=""
-USE_GNOME= esound
-CONFIGURE_ARGS+=--enable-audio=oss,esd,vorbis
-.else
-CONFIGURE_ARGS+=--enable-audio=oss,vorbis
-.endif
-
pre-su-install:
@${MKDIR} ${PREFIX}/share/timidity ${PREFIX}/${TIMID_LIBDIR}
@@ -77,6 +70,15 @@ post-install::
.include "${MASTERDIR}/Makefile.interface"
.endif # !defined(PKGNAMESUFFIX)
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME= esound
+CONFIGURE_ARGS+=--enable-audio=oss,esd,vorbis
+.else
+CONFIGURE_ARGS+=--enable-audio=oss,vorbis
+.endif
+
post-install::
.if !defined(NOPORTDOCS) && defined(DOCFILES)
.for lang in ${DOCLANG}
@@ -89,4 +91,4 @@ post-install::
@${CAT} ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>