# New ports collection makefile for: jdk-doc-1.2 # Date created: June 1, 2001 # Whom: Ernst de Haan pre-install: @${ECHO_CMD} -n ">> Removing ${PLIST}..." @${RM} -f ${PLIST} @${TOUCH} ${PLIST} @${ECHO_CMD} " [ DONE ]" do-install: @${ECHO_CMD} -n ">> Creating directory ${TARGET_DIR}..." @${MKDIR} ${TARGET_DIR} @${ECHO_CMD} " [ DONE ]" @${ECHO_CMD} -n ">> Copying files..." @${CP} -r ${WRKSRC}/* ${TARGET_DIR} @${ECHO_CMD} " [ DONE ]" @${ECHO_CMD} -n ">> Creating packing list..." @${FIND} ${TARGET_DIR} -type f -print | \ ${SED} "s,${PREFIX}/*,," >> ${PLIST} @${FIND} ${TARGET_DIR} -type d -print | ${SORT} -r | \ ${SED} -e "s,${PREFIX}/*,," -e "s,^,@dirrm ,g" >> ${PLIST} @${ECHO_CMD} " [ DONE ]" .include