diff options
author | adamw <adamw@FreeBSD.org> | 2014-01-08 00:08:06 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-01-08 00:08:06 +0800 |
commit | b7a9d5a4f72fbf15eda50132d4bf7735bdc0ef77 (patch) | |
tree | 5430d428e428a009785b7a7228370e8567fe355e /audio/lame | |
parent | f5188b958e0f2d2208723f121bab955c8feef278 (diff) | |
download | freebsd-ports-gnome-b7a9d5a4f72fbf15eda50132d4bf7735bdc0ef77.tar.gz freebsd-ports-gnome-b7a9d5a4f72fbf15eda50132d4bf7735bdc0ef77.tar.zst freebsd-ports-gnome-b7a9d5a4f72fbf15eda50132d4bf7735bdc0ef77.zip |
This port uses advanced PORTDOCS technology that is beyond me.
Restore the original logic, and apply MDOCS to it properly.
Diffstat (limited to 'audio/lame')
-rw-r--r-- | audio/lame/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile index 4fcf477045c1..fe0ab01dee76 100644 --- a/audio/lame/Makefile +++ b/audio/lame/Makefile @@ -34,6 +34,7 @@ post-patch: @${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \ ${WRKSRC}/libmp3lame/i386/Makefile.in +.if !${PORT_OPTIONS:MDOCS} do-install: @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-exec @@ -41,7 +42,10 @@ do-install: ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data @cd ${INSTALL_WRKSRC}/doc/man && ${SETENV} ${MAKE_ENV} ${GMAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data -.if ${PORT_OPTIONS:MDOCS} +.else +post-install: install-doc + +install-doc: @${MKDIR} ${DOCSDIR} .for file in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |